From: Martin Maletinsky <maletinsky@scs.ch>
To: kernelnewbies@nl.linux.org, linux-mm@kvack.org
Subject: VM_MAY... flags
Date: Wed, 09 Oct 2002 13:30:14 +0200 [thread overview]
Message-ID: <3DA41346.186CE3A6@scs.ch> (raw)
Hello,
What is the meaning of the VM_MAY.. flags? I.e. what does it mean for example, if the VM_MAYWRITE flag for a vmarea is set, while the VM_WRITE flag is clear (based on the
naming I assume the opposite is not possible)? Where are the VM_MAYWRITE flags set/checked?
The reason for my question is, that I use the get_user_pages() function (exists from kernel 2.4.17), which has a 'force flag' as an argument. In the 2.4.18 version, if the
force flag is set, the function will consider the VM_MAY(READ/WRITE) rather than the VM_(READ/WRITE) flags, to validate the vmarea. Thus I should know the syntax of the
VM_MAY... flags, to decide wether or not to set the force flag.
Thanks in advance for any help
with best regards
Martin Maletinsky
P.S. Please put me on cc: in the reply, since I am not on the mailing list.
--
Supercomputing System AG email: maletinsky@scs.ch
Martin Maletinsky phone: +41 (0)1 445 16 05
Technoparkstrasse 1 fax: +41 (0)1 445 16 10
CH-8005 Zurich
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/
reply other threads:[~2002-10-09 11:30 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3DA41346.186CE3A6@scs.ch \
--to=maletinsky@scs.ch \
--cc=kernelnewbies@nl.linux.org \
--cc=linux-mm@kvack.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox