diff options
author | Jan Kara <jack@suse.cz> | 2016-12-14 15:07:10 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-12-14 16:04:09 -0800 |
commit | 936ca80d3773bd9b6dda8a0dfd54425f9ec1be9d (patch) | |
tree | 29605a13cdf2ca249d928966086155451f576242 /mm/readahead.c | |
parent | 667240e0f2e13e792a5af99b3c34dfab12ef125b (diff) | |
download | linux-936ca80d3773bd9b6dda8a0dfd54425f9ec1be9d.tar.gz linux-936ca80d3773bd9b6dda8a0dfd54425f9ec1be9d.tar.bz2 linux-936ca80d3773bd9b6dda8a0dfd54425f9ec1be9d.zip |
mm: trim __do_fault() arguments
Use vm_fault structure to pass cow_page, page, and entry in and out of
the function.
That reduces number of __do_fault() arguments from 4 to 1.
Link: http://lkml.kernel.org/r/1479460644-25076-6-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/readahead.c')
0 files changed, 0 insertions, 0 deletions