diff options
| author | Mike Rapoport (Microsoft) <rppt@kernel.org> | 2026-03-23 09:48:29 +0200 |
|---|---|---|
| committer | Mike Rapoport (Microsoft) <rppt@kernel.org> | 2026-04-01 11:19:45 +0300 |
| commit | 25ee3aff9996f22e1b8b27fb284efb285e2fb025 (patch) | |
| tree | e242b6ee01af0c12fea6310a961c1fd79831c01e /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | c12c3e1507809ad1fc0448f51c933f52e17d13cd (diff) | |
powerpc: fadump: pair alloc_pages_exact() with free_pages_exact()
fadump allocates buffers with alloc_pages_exact(), but then marks them
as reserved and frees using free_reserved_area().
This is completely unnecessary and the pages allocated with
alloc_pages_exact() can be naturally freed with free_pages_exact().
Replace freeing of memory in fadump_free_buffer() with
free_pages_exact() and simplify allocation code so that it won't mark
allocated pages as reserved.
Link: https://patch.msgid.link/20260323074836.3653702-3-rppt@kernel.org
Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
