diff options
| author | Josef Bacik <[email protected]> | 2024-07-18 17:26:06 -0400 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-09-01 20:25:46 -0700 |
| commit | 478729533edaa6700ba681b7a71e43715ffe6ccb (patch) | |
| tree | e7e9f4ca3ecf5845a174482fc698a023d6a98109 /tools/perf/scripts/python/flamegraph.py | |
| parent | c39542732a3d84e851a0ab8ff3106ed3138174a0 (diff) | |
mm: cleanup flags usage in faultin_page
Patch series "mm: some small page fault cleanups".
I was recently wreaking havoc in the page fault code and I noticed some
things that could be cleaned up. We no longer modify the gup flags in
faultin_page, so we can clean up how we pass the flags in and remove the
extra variable in __get_user_pages.
This patch (of 2):
We're passing a pointer to the foll_flags for faultin_page, however we
never modify the flags in this call. Change this to just take the flags
value instead.
Link: https://lkml.kernel.org/r/2df51a54c06bdf93e1cb09a19a9ef1df6557b59e.1721337845.git.josef@toxicpanda.com
Signed-off-by: Josef Bacik <[email protected]>
Acked-by: David Hildenbrand <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions