summaryrefslogtreecommitdiff
path: root/tools/testing
diff options
context:
space:
mode:
authorGuo Weikang <guoweikang.kernel@gmail.com>2024-12-27 17:23:10 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-01-23 17:23:01 +0100
commit391da9c6a69de9316a807b93ff8e815109c38332 (patch)
treedd744f61b06f33b606e9bfde0c8d6bb98f3e96b4 /tools/testing
parent488a68c948bc52dc2a4554a56fdd99aa67c49b06 (diff)
downloadlinux-391da9c6a69de9316a807b93ff8e815109c38332.tar.gz
linux-391da9c6a69de9316a807b93ff8e815109c38332.tar.bz2
linux-391da9c6a69de9316a807b93ff8e815109c38332.zip
mm/kmemleak: fix percpu memory leak detection failure
commit 76d5d4c53e68719c018691b19a961e78524a155c upstream. kmemleak_alloc_percpu gives an incorrect min_count parameter, causing percpu memory to be considered a gray object. Link: https://lkml.kernel.org/r/20241227092311.3572500-1-guoweikang.kernel@gmail.com Fixes: 8c8685928910 ("mm/kmemleak: use IS_ERR_PCPU() for pointer in the percpu address space") Signed-off-by: Guo Weikang <guoweikang.kernel@gmail.com> Acked-by: Uros Bizjak <ubizjak@gmail.com> Acked-by: Catalin Marinas <catalin.marinas@arm.com> Cc: Guo Weikang <guoweikang.kernel@gmail.com> Cc: <stable@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/testing')
0 files changed, 0 insertions, 0 deletions