diff options
author | Anshuman Khandual <[email protected]> | 2017-05-03 14:55:28 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2017-05-03 15:52:11 -0700 |
commit | 5e451be75ca51dd45a77a6409a30a0de39dc15c8 (patch) | |
tree | adcd585bd3b2417ac96afddfd3b8aebfbd5cce4a /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 97167a7681e9a587ee75955bcbbf27e90f0883b9 (diff) |
mm/madvise: move up the behavior parameter validation
madvise_behavior_valid() should be called before acting upon the
behavior parameter. Hence move up the function. This also includes
MADV_SOFT_OFFLINE and MADV_HWPOISON options as valid behavior parameter
for the system call madvise().
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Anshuman Khandual <[email protected]>
Acked-by: David Rientjes <[email protected]>
Acked-by: Naoya Horiguchi <[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