diff options
author | Mike Rapoport <[email protected]> | 2019-09-23 15:39:31 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2019-09-24 15:54:12 -0700 |
commit | f3bc0dba3154fa7e4a728e0be8f37bd5fb9100fe (patch) | |
tree | 32475f75a260ca7611c16c26deece72ac76d7fc5 /tools/perf/scripts/python | |
parent | 76f34950779f3d7847c94615232dff2cdc2f9844 (diff) |
mm/madvise: reduce code duplication in error handling paths
madvise_behavior() converts -ENOMEM to -EAGAIN in several places using
identical code.
Move that code to a common error handling path.
No functional changes.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Mike Rapoport <[email protected]>
Acked-by: Pankaj Gupta <[email protected]>
Reviewed-by: Anshuman Khandual <[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