aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/radix-tree/maple.c
diff options
context:
space:
mode:
authorTianchen Ding <[email protected]>2024-08-12 09:55:17 +0000
committerAndrew Morton <[email protected]>2024-09-02 03:26:12 +0000
commitc36be0cdf63d64dfd65bcf27b8ed400696b1c27a (patch)
tree6aac5f76e3a4b19eff5f110c7d093cc4347d3995 /tools/testing/radix-tree/maple.c
parentmaple_tree: fix comment typo with corresponding maple_status (diff)
downloadkernel-c36be0cdf63d64dfd65bcf27b8ed400696b1c27a.tar.gz
kernel-c36be0cdf63d64dfd65bcf27b8ed400696b1c27a.zip
kfence: save freeing stack trace at calling time instead of freeing time
For kmem_cache with SLAB_TYPESAFE_BY_RCU, the freeing trace stack at calling kmem_cache_free() is more useful. While the following stack is meaningless and provides no help: freed by task 46 on cpu 0 at 656.840729s: rcu_do_batch+0x1ab/0x540 nocb_cb_wait+0x8f/0x260 rcu_nocb_cb_kthread+0x25/0x80 kthread+0xd2/0x100 ret_from_fork+0x34/0x50 ret_from_fork_asm+0x1a/0x30 Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Tianchen Ding <[email protected]> Reviewed-by: Marco Elver <[email protected]> Cc: Alexander Potapenko <[email protected]> Cc: Dmitry Vyukov <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/testing/radix-tree/maple.c')
0 files changed, 0 insertions, 0 deletions