# Re: \[PATCH 2/2\] mmap2: clarify MAP\_POPULATE

- From: David Rientjes \<rientjes@google.com\>
- Date: 2015-05-15 00:13:35 
- List: linux-api
- Page: https://ratatoskr.run/linux-api/2015/05/4494017
- Thread: https://ratatoskr.run/linux-api/2015/05/4492693/t.md

```text
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>

Acked-by: David Rientjes <rientjes@google.com>

Thanks for following up!

--
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/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
```
