diff options
author | 2021-01-14 15:33:49 +0000 | |
---|---|---|
committer | 2021-01-21 12:50:18 +0000 | |
commit | 2b635dd372f6c8f27644c662bb48d10376ce561a (patch) | |
tree | 5ab56f029d86cad3cf7ecce48701bca0ad9f40c8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mm: Pass 'address' to map to do_set_pte() and drop FAULT_FLAG_PREFAULT (diff) | |
download | wireguard-linux-2b635dd372f6c8f27644c662bb48d10376ce561a.tar.xz wireguard-linux-2b635dd372f6c8f27644c662bb48d10376ce561a.zip |
mm: Avoid modifying vmf.address in __collapse_huge_page_swapin()
In preparation for const-ifying the anonymous struct field of
'struct vm_fault', rework __collapse_huge_page_swapin() to avoid
continuously updating vmf.address and instead populate a new
'struct vm_fault' on the stack for each page being processed.
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions