summaryrefslogtreecommitdiff
path: root/include/rdma
diff options
context:
space:
mode:
authorLiu Shixin <liushixin2@huawei.com>2023-10-18 18:29:50 +0800
committerAndrew Morton <akpm@linux-foundation.org>2023-10-25 16:47:13 -0700
commit2e1d47385f98aa0fa7d71aeee32d26cc6f8493e0 (patch)
tree277eb7135b314fb68c3621981cead0b6356ec78a /include/rdma
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/20231018102952.3339837-6-liushixin2@huawei.com Fixes: 0647398a8c7b ("mm: kmemleak: simple memory allocation pool for kmemleak objects") Signed-off-by: Liu Shixin <liushixin2@huawei.com> Reviewed-by: Catalin Marinas <catalin.marinas@arm.com> Cc: Kefeng Wang <wangkefeng.wang@huawei.com> Cc: Patrick Wang <patrick.wang.shcn@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/rdma')
0 files changed, 0 insertions, 0 deletions