Files
linux/arch/powerpc/kernel
Mike Rapoport (Microsoft) 25ee3aff99 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>
2026-04-01 11:19:45 +03:00
..
2021-12-09 22:41:21 +11:00
2022-05-08 22:15:40 +10:00
2025-07-26 13:07:52 +05:30
2024-06-28 22:28:47 +10:00
2022-09-26 23:00:14 +10:00
2020-12-04 01:01:09 +11:00
2024-11-07 14:25:15 -08:00
2021-12-09 22:41:21 +11:00
2024-10-29 23:01:52 +11:00
2023-10-10 13:35:55 -06:00
2022-09-26 22:47:37 +10:00
2024-10-29 23:01:52 +11:00
2025-02-26 21:15:09 +05:30
2021-12-09 22:41:21 +11:00