diff options
author | 2016-03-15 14:56:36 -0700 | |
---|---|---|
committer | 2016-03-15 16:55:16 -0700 | |
commit | 23a003bfd23ea9ea0b7756b920e51f64b284b468 (patch) | |
tree | 3219402f3b8ad53114e4193e27b852ba7cb79f90 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | mm, sl[au]b: print gfp_flags as strings in slab_out_of_memory() (diff) | |
download | linux-dev-23a003bfd23ea9ea0b7756b920e51f64b284b468.tar.xz linux-dev-23a003bfd23ea9ea0b7756b920e51f64b284b468.zip |
mm/madvise: pass return code of memory_failure() to userspace
Currently the return value of memory_failure() is not passed to
userspace when madvise(MADV_HWPOISON) is used. This is inconvenient for
test programs that want to know the result of error handling. So let's
return it to the caller as we already do in the MADV_SOFT_OFFLINE case.
Signed-off-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Cc: Chen Gong <gong.chen@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions