aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorNaoya Horiguchi <[email protected]>2016-03-15 14:56:36 -0700
committerLinus Torvalds <[email protected]>2016-03-15 16:55:16 -0700
commit23a003bfd23ea9ea0b7756b920e51f64b284b468 (patch)
tree3219402f3b8ad53114e4193e27b852ba7cb79f90 /tools/perf/scripts/python
parent5b3810e5c6e1b9a1858464a53b5d72ee050bb918 (diff)
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 <[email protected]> Cc: Chen Gong <[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