]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mm: trim __do_fault() arguments
authorJan Kara <jack@suse.cz>
Wed, 14 Dec 2016 23:07:10 +0000 (15:07 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 15 Dec 2016 00:04:09 +0000 (16:04 -0800)
commit936ca80d3773bd9b6dda8a0dfd54425f9ec1be9d
tree29605a13cdf2ca249d928966086155451f576242
parent667240e0f2e13e792a5af99b3c34dfab12ef125b
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>
mm/memory.c