diff options
| author | Jan Kara <[email protected]> | 2016-12-14 23:07:36 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2016-12-15 00:04:09 +0000 |
| commit | 997dd98dd68beb2aea74cac53e7fd440cc8dba68 (patch) | |
| tree | 63577e193e977b242f9b934f915aa458cf15c20f /tools/testing/radix-tree/iteration_check.c | |
| parent | mm: use vmf->page during WP faults (diff) | |
| download | kernel-997dd98dd68beb2aea74cac53e7fd440cc8dba68.tar.gz kernel-997dd98dd68beb2aea74cac53e7fd440cc8dba68.zip | |
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/testing/radix-tree/iteration_check.c')
0 files changed, 0 insertions, 0 deletions
