-
- Downloads
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 <kirill.shutemov@linux.intel.com> Acked-by:
Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
Showing
- Documentation/filesystems/Locking 5 additions, 5 deletionsDocumentation/filesystems/Locking
- fs/userfaultfd.c 11 additions, 11 deletionsfs/userfaultfd.c
- include/linux/huge_mm.h 5 additions, 15 deletionsinclude/linux/huge_mm.h
- include/linux/mm.h 26 additions, 8 deletionsinclude/linux/mm.h
- include/linux/userfaultfd_k.h 2 additions, 6 deletionsinclude/linux/userfaultfd_k.h
- mm/filemap.c 14 additions, 14 deletionsmm/filemap.c
- mm/huge_memory.c 131 additions, 149 deletionsmm/huge_memory.c
- mm/internal.h 1 addition, 3 deletionsmm/internal.h
- mm/memory.c 278 additions, 304 deletionsmm/memory.c
- mm/nommu.c 2 additions, 1 deletionmm/nommu.c
Loading
Please register or sign in to comment