]> Git Repo - linux.git/commit - mm/memory.c
mm: introduce fault_env
authorKirill A. Shutemov <[email protected]>
Tue, 26 Jul 2016 22:25:20 +0000 (15:25 -0700)
committerLinus Torvalds <[email protected]>
Tue, 26 Jul 2016 23:19:19 +0000 (16:19 -0700)
commitbae473a423f65e480db83c85b5e92254f6dfcb28
tree9e09cd8cbcafdcc1a27298700f69f8f86f929392
parentdcddffd41d3f1d3bdcc1dce3f1cd142779b6d4c1
mm: introduce fault_env

The idea borrowed from Peter's patch from patchset on speculative page
faults[1]:

Instead of passing around the endless list of function arguments,
replace the lot with a single structure so we can change context without
endless function signature changes.

The changes are mostly mechanical with exception of faultaround code:
filemap_map_pages() got reworked a bit.

This patch is preparation for the next one.

[1] http://lkml.kernel.org/r/20141020222841.302891540@infradead.org

Link: http://lkml.kernel.org/r/1466021202-61880-9-git-send-email-kirill.shutemov@linux.intel.com
Signed-off-by: Kirill A. Shutemov <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Documentation/filesystems/Locking
fs/userfaultfd.c
include/linux/huge_mm.h
include/linux/mm.h
include/linux/userfaultfd_k.h
mm/filemap.c
mm/huge_memory.c
mm/internal.h
mm/memory.c
mm/nommu.c
This page took 0.062559 seconds and 4 git commands to generate.