diff options
author | Mike Rapoport <[email protected]> | 2017-08-10 15:24:32 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2017-08-10 15:54:07 -0700 |
commit | e86b298bebf7e799e4b7232e9135799f1947552e (patch) | |
tree | ef1d29b5737ebbe5bdcf966bcd69a152e634a0b8 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | f357e345eef7863da037e0243f2d3df4ba6df986 (diff) |
userfaultfd: replace ENOSPC with ESRCH in case mm has gone during copy/zeropage
When the process exit races with outstanding mcopy_atomic, it would be
better to return ESRCH error. When such race occurs the process and
it's mm are going away and returning "no such process" to the uffd
monitor seems better fit than ENOSPC.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Mike Rapoport <[email protected]>
Suggested-by: Michal Hocko <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Cc: Andrea Arcangeli <[email protected]>
Cc: "Dr. David Alan Gilbert" <[email protected]>
Cc: Pavel Emelyanov <[email protected]>
Cc: Mike Kravetz <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions