aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorLiu Shixin <[email protected]>2023-10-18 18:29:50 +0800
committerAndrew Morton <[email protected]>2023-10-25 16:47:13 -0700
commit2e1d47385f98aa0fa7d71aeee32d26cc6f8493e0 (patch)
tree277eb7135b314fb68c3621981cead0b6356ec78a /tools/perf/scripts/python/task-analyzer.py
parent0edd7b58293340d26380d7510fd4fc08e5902511 (diff)
mm: kmemleak: use mem_pool_free() to free object
The kmemleak object is allocated by mem_pool_alloc(), which could be from slab or mem_pool[], so it's not suitable using __kmem_cache_free() to free the object, use __mem_pool_free() instead. Link: https://lkml.kernel.org/r/[email protected] Fixes: 0647398a8c7b ("mm: kmemleak: simple memory allocation pool for kmemleak objects") Signed-off-by: Liu Shixin <[email protected]> Reviewed-by: Catalin Marinas <[email protected]> Cc: Kefeng Wang <[email protected]> Cc: Patrick Wang <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions