diff options
author | Will Deacon <will@kernel.org> | 2021-01-14 15:24:19 +0000 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2021-01-21 12:50:18 +0000 |
commit | 9d3af4b448a119ac81378d3bc775f1c4a2a7ff36 (patch) | |
tree | bff35a4882e293a9ba6aeb5ca3b307a74682a0cb /.gitattributes | |
parent | 742d33729a0df11c9d8d4625dbf21dd20cdefd44 (diff) | |
download | linux-9d3af4b448a119ac81378d3bc775f1c4a2a7ff36.tar.bz2 |
mm: Pass 'address' to map to do_set_pte() and drop FAULT_FLAG_PREFAULT
Rather than modifying the 'address' field of the 'struct vm_fault'
passed to do_set_pte(), leave that to identify the real faulting address
and pass in the virtual address to be mapped by the new pte as a
separate argument.
This makes FAULT_FLAG_PREFAULT redundant, as a prefault entry can be
identified simply by comparing the new address parameter with the
faulting address, so remove the redundant flag at the same time.
Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions