其他分享
首页 > 其他分享> > slab释放调用栈

slab释放调用栈

作者:互联网

slab释放调用栈

Thread 1 hit Breakpoint 2, __free_slab (s=0xffff80007c407880, page=0xffff7e0001f18e00) at mm/slub.c:1659
1659 {
(gdb) bt
#0 __free_slab (s=0xffff80007c407880, page=0xffff7e0001f18e00) at mm/slub.c:1659
#1 0xffff0000081c25e4 in free_slab (page=<optimized out>, s=<optimized out>) at mm/slub.c:1721
#2 discard_slab (s=<optimized out>, page=<optimized out>) at mm/slub.c:1727
#3 0xffff0000081c4888 in __slab_free (s=0xffff80007c407880, page=0xffff7e0001f18e00, head=<optimized out>, tail=0xffff80007c639b80, cnt=1,
addr=<optimized out>) at mm/slub.c:2931
#4 0xffff0000081c4b28 in do_slab_free (addr=<optimized out>, cnt=<optimized out>, tail=<optimized out>, head=<optimized out>, page=<optimized out>,
s=<optimized out>) at mm/slub.c:2987
#5 slab_free (addr=<optimized out>, cnt=<optimized out>, tail=<optimized out>, head=<optimized out>, page=<optimized out>, s=<optimized out>)
at mm/slub.c:3002
#6 kmem_cache_free (s=<optimized out>, x=0xffff80007c639b80) at mm/slub.c:3017
#7 0xffff0000080beac0 in free_task_struct (tsk=<optimized out>) at kernel/fork.c:362
#8 free_task (tsk=0xffff80007c639b80) at kernel/fork.c:362
#9 0xffff0000080bec20 in __put_task_struct (tsk=0xffff80007c639b80) at kernel/fork.c:399
#10 0xffff0000080c396c in put_task_struct (t=<optimized out>) at ./include/linux/sched.h:2237
#11 delayed_put_task_struct (rhp=0xffff80007c63a3c8) at kernel/exit.c:164
#12 0xffff000008113bd8 in __rcu_reclaim (head=<optimized out>, rn=<optimized out>) at kernel/rcu/rcu.h:118
#13 rcu_do_batch (rdp=<optimized out>, rsp=<optimized out>) at kernel/rcu/tree.c:2797
#14 invoke_rcu_callbacks (rdp=<optimized out>, rsp=<optimized out>) at kernel/rcu/tree.c:3061
#15 __rcu_process_callbacks (rsp=<optimized out>) at kernel/rcu/tree.c:3028
#16 rcu_process_callbacks (unused=<optimized out>) at kernel/rcu/tree.c:3045
#17 0xffff0000080c66e4 in __do_softirq () at kernel/softirq.c:288
#18 0xffff0000080c6ab4 in do_softirq_own_stack () at ./include/linux/interrupt.h:476
#19 invoke_softirq () at kernel/softirq.c:375
#20 irq_exit () at kernel/softirq.c:409
#21 0xffff0000081065a4 in __handle_domain_irq (domain=0xffff80007c410080, hwirq=<optimized out>, lookup=true, regs=<optimized out>)
at kernel/irq/irqdesc.c:644
#22 0xffff00000808175c in handle_domain_irq (regs=<optimized out>, hwirq=<optimized out>, domain=<optimized out>) at ./include/linux/irqdesc.h:169
#23 gic_handle_irq (regs=0xffff000009a13df0 <init_thread_union+15856>) at drivers/irqchip/irq-gic.c:357
#24 0xffff0000080830ac in el1_irq () at arch/arm64/kernel/entry.S:501
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

标签:__,kernel,释放,调用,rcu,free,slub,slab
来源: https://www.cnblogs.com/kitiz/p/15554252.html