diff options
| author | Vishal Moola (Oracle) <[email protected]> | 2024-02-21 15:47:31 -0800 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-03-04 17:01:15 -0800 |
| commit | 9acad7ba3e25d11f4c96df1b7312ae89e6faca5c (patch) | |
| tree | 9f6e6f28947c1f6f78e78a79e3b40f4bd39b2187 /tools/perf/scripts/python/netdev-times.py | |
| parent | 7dac0ec8fa3f4977d04974e94806dfa8bdac7ed2 (diff) | |
hugetlb: use vmf_anon_prepare() instead of anon_vma_prepare()
hugetlb_no_page() and hugetlb_wp() call anon_vma_prepare(). In
preparation for hugetlb to safely handle faults under the VMA lock, use
vmf_anon_prepare() here instead.
Additionally, passing hugetlb_wp() the vm_fault struct from
hugetlb_fault() works toward cleaning up the hugetlb code and function
stack.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Vishal Moola (Oracle) <[email protected]>
Reviewed-by: Matthew Wilcox (Oracle) <[email protected]>
Cc: Muchun Song <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions