diff options
| author | Hugh Dickins <[email protected]> | 2009-09-21 17:02:28 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2009-09-22 07:17:33 -0700 |
| commit | 7103ad323b1ae32bedc3267402117e2f8b45e48d (patch) | |
| tree | d4255fceb827cc0a70b5a748182766d22934dc78 /tools/perf/scripts/python | |
| parent | 35451beecbd7c86ce3249d543594517a5fe9a0cd (diff) | |
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 <[email protected]>
Acked-by: Izik Eidus <[email protected]>
Cc: Andrea Arcangeli <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions