Re: [PATCH 2/2] mmap2: clarify MAP_POPULATE

From
Eric B Munson <hidden>
Date
2015-05-13 14:47:18
Also in
linux-mm, lkml
Reply to
Michal Hocko, 2015-05-13
On Wed, 13 May 2015, Michal Hocko wrote:
From: Michal Hocko <redacted>

David Rientjes has noticed that MAP_POPULATE wording might promise much
more than the kernel actually provides and intend to provide. The
primary usage of the flag is to pre-fault the range. There is no
guarantee that no major faults will happen later on. The pages might
have been reclaimed by the time the process tries to access them.

Signed-off-by: Michal Hocko <redacted>
Reviewed-by: Eric B Munson <redacted>

Attachments

Thread (14 messages) 14 messages, 7 authors, last reply 2016-05-11
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help