summaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorMike Rapoport (Microsoft) <rppt@kernel.org>2026-03-23 09:48:30 +0200
committerMike Rapoport (Microsoft) <rppt@kernel.org>2026-04-01 11:19:45 +0300
commit8ff5d8f2008889bb6f46125d5a0638e8749e29bd (patch)
treebdafff6bc84df90bab346699d0a5a8fd10126c7c /scripts/patch-kernel
parent25ee3aff9996f22e1b8b27fb284efb285e2fb025 (diff)
powerpc: opal-core: pair alloc_pages_exact() with free_pages_exact()
opal-core 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 opalcore_cleanup() 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-4-rppt@kernel.org Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions