]> git.karo-electronics.de Git - linux-beck.git/commit
mm: use passed vm_fault structure in __do_fault()
authorJan Kara <jack@suse.cz>
Wed, 14 Dec 2016 23:07:07 +0000 (15:07 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 15 Dec 2016 00:04:09 +0000 (16:04 -0800)
commit667240e0f2e13e792a5af99b3c34dfab12ef125b
treef6880fe19d639a43c05b90a7e2c3e13161e0c81e
parent0721ec8bc156fafc9057ec1df95cdb3bbc3cbae8
mm: use passed vm_fault structure in __do_fault()

Instead of creating another vm_fault structure, use the one passed to
__do_fault() for passing arguments into fault handler.

Link: http://lkml.kernel.org/r/1479460644-25076-5-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