[PATCH v2 0/4] Some bugfix about kmemleak
From: Liu Shixin
Date: Sat Oct 07 2023 - 21:33:23 EST
Some bugfix to improve the accuracy of detection and the print info of
debug mode.
v1->v2: Split the first patch suggested by Andrew. And fix the format of
the last two patches suggested by Catalin. Use mutex in patch[3]
because there are memory allocation with flag GFP_KERNEL.
Liu Shixin (4):
bootmem: use kmemleak_free_part_phys in put_page_bootmem
bootmem: use kmemleak_free_part_phys in free_bootmem_page
mm/kmemleak: fix partially freeing unknown object warning
mm/kmemleak: fix print format of pointer in pr_debug()
include/linux/bootmem_info.h | 2 +-
mm/bootmem_info.c | 2 +-
mm/kmemleak.c | 37 +++++++++++++++++++++---------------
3 files changed, 24 insertions(+), 17 deletions(-)
--
2.25.1