diff options
author | Kirill A. Shutemov | 2016-07-27 00:25:20 +0200 |
---|---|---|
committer | Linus Torvalds | 2016-07-27 01:19:19 +0200 |
commit | bae473a423f65e480db83c85b5e92254f6dfcb28 (patch) | |
tree | 9e09cd8cbcafdcc1a27298700f69f8f86f929392 /include/linux/i2c/dm355evm_msp.h | |
parent | mm: do not pass mm_struct into handle_mm_fault (diff) | |
download | kernel-qcow2-linux-bae473a423f65e480db83c85b5e92254f6dfcb28.tar.gz kernel-qcow2-linux-bae473a423f65e480db83c85b5e92254f6dfcb28.tar.xz kernel-qcow2-linux-bae473a423f65e480db83c85b5e92254f6dfcb28.zip |
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>
Diffstat (limited to 'include/linux/i2c/dm355evm_msp.h')
0 files changed, 0 insertions, 0 deletions