Re: BUG at net/core/sock.c when using PREEMPT_VOLUNTARY/PREEMPT_DESKTOP

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Xianghua Xiao
Date: Friday, April 23, 2010 - 9:45 am

On Fri, Apr 23, 2010 at 11:33 AM, Xianghua Xiao <xiaoxianghua@gmail.com> wrote:

When enable PREEMPT_DESKTOP I also saw BUG below:
-------------------------------------
BUG: sleeping function called from invalid context at mm/slab.c:3266
pcnt: 2 0 in_atomic(): 1, irqs_disabled(): 0, pid: 6, name: sirq-net-rx/0
Call Trace:
[cf067b40] [c00097c0] show_stack+0x70/0x1b8 (unreliable)
[cf067b80] [c001ca5c] __might_sleep+0x104/0x108
[cf067b90] [c00944e4] kmem_cache_alloc+0x14c/0x150
[cf067bc0] [c02b36c0] __alloc_skb+0x48/0x150
[cf067be0] [c0340ebc] inet6_rt_notify+0x80/0x188
[cf067c20] [c0345214] fib6_add+0x374/0x620
[cf067ca0] [c03420ac] __ip6_ins_rt+0x3c/0x68
[cf067cc0] [c0342b40] ip6_ins_rt+0x2c/0x3c
[cf067ce0] [c0343350] ip6_pol_route+0x284/0x358
[cf067d40] [c0343980] fib6_rule_lookup+0x24/0x34
[cf067d50] [c0341d9c] ip6_route_input+0x128/0x160
[cf067de0] [c03382f0] ipv6_rcv+0x454/0x45c
[cf067e10] [c02bc490] netif_receive_skb+0x298/0x3d8
[cf067e40] [c0261294] gfar_clean_rx_ring+0x190/0x49c
[cf067e90] [c0261a00] gfar_poll+0x460/0x578
[cf067f30] [c02bd0d8] net_rx_action+0x140/0x1e0
[cf067f70] [c002b9ac] run_ksoftirqd+0x188/0x2e8
[cf067fc0] [c0041110] kthread+0x80/0x84
[cf067ff0] [c001380c] kernel_thread+0x4c/0x68
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: BUG at net/core/sock.c when using PREEMPT_VOLUNTARY/PR ..., Xianghua Xiao, (Fri Apr 23, 9:45 am)