diff options
author | Hugh Dickins <hugh.dickins@tiscali.co.uk> | 2009-09-22 04:02:28 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-22 18:17:33 +0400 |
commit | 7103ad323b1ae32bedc3267402117e2f8b45e48d (patch) | |
tree | d4255fceb827cc0a70b5a748182766d22934dc78 /mm/kmemleak-test.c | |
parent | 35451beecbd7c86ce3249d543594517a5fe9a0cd (diff) | |
download | linux-7103ad323b1ae32bedc3267402117e2f8b45e48d.tar.xz |
ksm: mremap use err from ksm_madvise
mremap move's use of ksm_madvise() was assuming -ENOMEM on failure,
because ksm_madvise used to say -EAGAIN for that; but ksm_madvise now says
-ENOMEM (letting madvise convert that to -EAGAIN), and can also say
-ERESTARTSYS when signalled: so pass the error from ksm_madvise.
Signed-off-by: Hugh Dickins <hugh.dickins@tiscali.co.uk>
Acked-by: Izik Eidus <ieidus@redhat.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/kmemleak-test.c')
0 files changed, 0 insertions, 0 deletions