Re: [PATCH] Add MCL_ONFAULT to mlockall calls

Dave Jones <[email protected]> Wed, 20 Jan 2016 15:14:29 -0500
Newsgroups org.kernel.vger.trinity
Message-ID <[email protected]>
On Wed, Jan 20, 2016 at 02:51:12PM -0500, Eric B Munson wrote:
 > The new mlock2 system call was added, but it looks like the MCL_ONFAULT
 > flag was missed.  This is now a valid flag to pass to mlockall(), but it
 > must be used in conjunction with either MCL_CURRENT or MCL_FUTURE (or
 > both).  Also rework the way that the flags value for mlockall() is
 > caclulated.  It is valid to pass any combination of the MCL_* flags
 > except for MCL_ONFAULT alone.
 > 
 > Signed-off-by: Eric B Munson <[email protected]>
 > Cc: Dave Jones <[email protected]>

thanks, applied and pushed.

	Dave