diff options
author | Jan Kara <[email protected]> | 2016-12-14 15:07:36 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2016-12-14 16:04:09 -0800 |
commit | 997dd98dd68beb2aea74cac53e7fd440cc8dba68 (patch) | |
tree | 63577e193e977b242f9b934f915aa458cf15c20f /tools/perf/scripts/python/sched-migration.py | |
parent | a41b70d6dfc28b9e1a17c2a9f3181c2b614bfd54 (diff) |
mm: move part of wp_page_reuse() into the single call site
wp_page_reuse() handles write shared faults which is needed only in
wp_page_shared(). Move the handling only into that location to make
wp_page_reuse() simpler and avoid a strange situation when we sometimes
pass in locked page, sometimes unlocked etc.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Jan Kara <[email protected]>
Reviewed-by: Ross Zwisler <[email protected]>
Acked-by: Kirill A. Shutemov <[email protected]>
Cc: Dan Williams <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions