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

From: Eric B Munson
Date: Wed May 13 2015 - 10:47:21 EST


On Wed, 13 May 2015, Michal Hocko wrote:

> From: Michal Hocko <mhocko@xxxxxxx>
>
> 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 <mhocko@xxxxxxx>

Reviewed-by: Eric B Munson <emunson@xxxxxxxxxx>

Attachment: signature.asc
Description: Digital signature