aboutsummaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorLee Schermerhorn <[email protected]>2008-10-18 20:26:56 -0700
committerLinus Torvalds <[email protected]>2008-10-20 08:52:31 -0700
commit9978ad583e100945b74e4f33e73317983ea32df9 (patch)
tree132d3a06664e04cac4635ddba55a0ec36ff2a001 /scripts/objdiff
parentc11d69d8c830e09a0e7b3935c952afb26c48bba8 (diff)
mlock: make mlock error return Posixly Correct
Rework Posix error return for mlock(). Posix requires error code for mlock*() system calls for some conditions that differ from what kernel low level functions, such as get_user_pages(), return for those conditions. For more info, see: http://marc.info/?l=linux-kernel&m=121750892930775&w=2 This patch provides the same translation of get_user_pages() error codes to posix specified error codes in the context of the mlock rework for unevictable lru. [[email protected]: fix build] Signed-off-by: KOSAKI Motohiro <[email protected]> Signed-off-by: Lee Schermerhorn <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions