summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/enrich_formatter.py
diff options
context:
space:
mode:
authorPratyush Yadav <pratyush@kernel.org>2025-11-18 19:22:16 +0100
committerAndrew Morton <akpm@linux-foundation.org>2025-11-27 14:24:42 -0800
commitb15515155af735a86e5bcd67ed739162f0de27f5 (patch)
treea3a4a94acc67243cbad4e3710d6c056b5e56a2ee /tools/lib/python/kdoc/enrich_formatter.py
parent724bf8c5595a1219427f6e779563859d63948b5a (diff)
kho: free chunks using free_page() instead of kfree()
Before commit fa759cd75bce5 ("kho: allocate metadata directly from the buddy allocator"), the chunks were allocated from the slab allocator using kzalloc(). Those were rightly freed using kfree(). When the commit switched to using the buddy allocator directly, it missed updating kho_mem_ser_free() to use free_page() instead of kfree(). Link: https://lkml.kernel.org/r/20251118182218.63044-1-pratyush@kernel.org Fixes: fa759cd75bce5 ("kho: allocate metadata directly from the buddy allocator") Signed-off-by: Pratyush Yadav <pratyush@kernel.org> Reviewed-by: Pasha Tatashin <pasha.tatashin@soleen.com> Reviewed-by: Mike Rapoport (Microsoft) <rppt@kernel.org> Cc: Alexander Graf <graf@amazon.com> Cc: David Matlack <dmatlack@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/lib/python/kdoc/enrich_formatter.py')
0 files changed, 0 insertions, 0 deletions