diff options
author | Jan Kara <jack@suse.cz> | 2016-12-14 15:07:33 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-12-14 16:04:09 -0800 |
commit | a41b70d6dfc28b9e1a17c2a9f3181c2b614bfd54 (patch) | |
tree | 55ca53d3e7f49f9c58a5e58ce08c7b1be6fdc313 /mm/dmapool.c | |
parent | 38b8cb7fbb892503fe9fcf748ebbed8c9fde7bf8 (diff) | |
download | op-kernel-dev-a41b70d6dfc28b9e1a17c2a9f3181c2b614bfd54.zip op-kernel-dev-a41b70d6dfc28b9e1a17c2a9f3181c2b614bfd54.tar.gz |
mm: use vmf->page during WP faults
So far we set vmf->page during WP faults only when we needed to pass it
to the ->page_mkwrite handler. Set it in all the cases now and use that
instead of passing page pointer explicitly around.
Link: http://lkml.kernel.org/r/1479460644-25076-14-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/dmapool.c')
0 files changed, 0 insertions, 0 deletions