diff options
author | Michal Hocko <[email protected]> | 2015-06-24 16:57:50 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2015-06-24 17:49:44 -0700 |
commit | 9b012a29a300ea780d919205906d00d15cc6286e (patch) | |
tree | bfeef7ea3414bab1035fb8bbfd08c3d7b368139d /tools/perf/scripts/python/sched-migration.py | |
parent | 22cc877b32202b6d82e580bc6b3b445531659d3e (diff) |
Documentation/vm/unevictable-lru.txt: clarify MAP_LOCKED behavior
There is a very subtle difference between mmap()+mlock() vs
mmap(MAP_LOCKED) semantic. The former one fails if the population of the
area fails while the later one doesn't. This basically means that
mmap(MAPLOCKED) areas might see major fault after mmap syscall returns
which is not the case for mlock. mmap man page has already been altered
but Documentation/vm/unevictable-lru.txt deserves a clarification as well.
Signed-off-by: Michal Hocko <[email protected]>
Reported-by: David Rientjes <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions