diff options
| author | Liam R. Howlett <[email protected]> | 2024-08-30 00:00:56 -0400 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-09-03 21:15:51 -0700 |
| commit | 5972d97c44dc00fd9436a885182adef00ae8cb22 (patch) | |
| tree | a7798423f0fc7d714c506b7f6f5bee28610e9a85 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 4f87153e82c4906e917d273ab7accd0d540aab35 (diff) | |
mm/mmap: use PHYS_PFN in mmap_region()
Instead of shifting the length by PAGE_SIZE, use PHYS_PFN. Also use the
existing local variable everywhere instead of some of the time.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Liam R. Howlett <[email protected]>
Reviewed-by: Lorenzo Stoakes <[email protected]>
Reviewed-by: Suren Baghdasaryan <[email protected]>
Cc: Bert Karwatzki <[email protected]>
Cc: Jeff Xu <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Kees Cook <[email protected]>
Cc: Lorenzo Stoakes <[email protected]>
Cc: Mark Brown <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: "Paul E. McKenney" <[email protected]>
Cc: Paul Moore <[email protected]>
Cc: Sidhartha Kumar <[email protected]>
Cc: Vlastimil Babka <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions