diff options
author | Jan Kara <jack@suse.cz> | 2016-12-14 15:07:36 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-12-14 16:04:09 -0800 |
commit | 997dd98dd68beb2aea74cac53e7fd440cc8dba68 (patch) | |
tree | 63577e193e977b242f9b934f915aa458cf15c20f /mm/khugepaged.c | |
parent | a41b70d6dfc28b9e1a17c2a9f3181c2b614bfd54 (diff) | |
download | linux-997dd98dd68beb2aea74cac53e7fd440cc8dba68.tar.bz2 |
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/1479460644-25076-15-git-send-email-jack@suse.cz
Signed-off-by: Jan Kara <jack@suse.cz>
Reviewed-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/khugepaged.c')
0 files changed, 0 insertions, 0 deletions