diff options
| author | Vishal Moola (Oracle) <[email protected]> | 2024-04-01 13:26:49 -0700 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-04-25 20:56:41 -0700 |
| commit | 9b42fa16195fb471bf3b7849803c0a7d3e7620f2 (patch) | |
| tree | 0568a84b969426f763a09508dc5bdbab1314c92c /tools/perf/scripts/python/task-analyzer.py | |
| parent | 7edea4c6fdf23754c77582a0377791e1aa9d2700 (diff) | |
hugetlb: convert hugetlb_fault() to use struct vm_fault
Patch series "Hugetlb fault path to use struct vm_fault", v2.
This patchset converts the hugetlb fault path to use struct vm_fault.
This helps make the code more readable, and alleviates the stack by
allowing us to consolidate many fault-related variables into an individual
pointer.
This patch (of 3):
Now that hugetlb_fault() has a vm_fault available for fault tracking, use
it throughout. This cleans up the code by removing 2 variables, and
prepares hugetlb_fault() to take in a struct vm_fault argument.
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Vishal Moola (Oracle) <[email protected]>
Reviewed-by: Oscar Salvador <[email protected]>
Reviewed-by: Muchun Song <[email protected]>
Cc: Matthew Wilcox (Oracle) <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions