commit | 2b635dd372f6c8f27644c662bb48d10376ce561a | [log] [tgz] |
---|---|---|
author | Will Deacon <will@kernel.org> | Thu Jan 14 15:33:49 2021 +0000 |
committer | Will Deacon <will@kernel.org> | Thu Jan 21 12:50:18 2021 +0000 |
tree | 5ab56f029d86cad3cf7ecce48701bca0ad9f40c8 | |
parent | 9d3af4b448a119ac81378d3bc775f1c4a2a7ff36 [diff] |
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>