Thread (17 messages) 17 messages, 3 authors, 2015-05-19

Re: [PATCH 0/3] Allow user to request memory to be locked on page fault

From: Andrew Morton <akpm@linux-foundation.org>
Date: 2015-05-08 19:42:08
Also in: linux-alpha, linux-api, linux-arch, linux-mips, linux-mm, lkml, sparclinux

On Fri,  8 May 2015 15:33:43 -0400 Eric B Munson [off-list ref] wrote:
mlock() allows a user to control page out of program memory, but this
comes at the cost of faulting in the entire mapping when it is
allocated.  For large mappings where the entire area is not necessary
this is not ideal.

This series introduces new flags for mmap() and mlockall() that allow a
user to specify that the covered are should not be paged out, but only
after the memory has been used the first time.
Please tell us much much more about the value of these changes: the use
cases, the behavioural improvements and performance results which the
patchset brings to those use cases, etc.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help