* VM_MAY... flags
@ 2002-10-09 11:30 Martin Maletinsky
0 siblings, 0 replies; only message in thread
From: Martin Maletinsky @ 2002-10-09 11:30 UTC (permalink / raw)
To: kernelnewbies, linux-mm
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/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-10-09 11:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-09 11:30 VM_MAY... flags Martin Maletinsky
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox