Re: mmotm 2010-04-28 - RCU whinges

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Valdis.Kletnieks
Date: Monday, May 3, 2010 - 8:29 am

On Mon, 03 May 2010 16:58:46 +0200, Eric Dumazet said:



Confirming that one fixed.  Now it lives a whole 36 seconds before whinging:

[   35.328729] ===================================================
[   35.328803] [ INFO: suspicious rcu_dereference_check() usage. ]
[   35.328837] ---------------------------------------------------
[   35.328872] net/ipv6/addrconf.c:2977 invoked rcu_dereference_check() without protection!
[   35.328926] 
[   35.328927] other info that might help us debug this:
[   35.328928] 
[   35.329016] 
[   35.329016] rcu_scheduler_active = 1, debug_locks = 0
[   35.329089] 2 locks held by ifconfig/2680:
[   35.329120]  #0:  (&p->lock){+.+.+.}, at: [<ffffffff810f5db8>] seq_read+0x3a/0x42d
[   35.329217]  #1:  (rcu_read_lock_bh){.+....}, at: [<ffffffff814eec68>] rcu_read_lock_bh+0x0/0x35
[   35.329322] 
[   35.329323] stack backtrace:
[   35.329380] Pid: 2680, comm: ifconfig Tainted: G        W   2.6.34-rc5-mmotm0428 #3
[   35.329439] Call Trace:
[   35.329471]  [<ffffffff81064832>] lockdep_rcu_dereference+0xaa/0xb2
[   35.329514]  [<ffffffff814ef3ae>] if6_get_next+0x34/0x6d
[   35.329554]  [<ffffffff814ef3f8>] if6_seq_next+0x11/0x18
[   35.329595]  [<ffffffff810f6083>] seq_read+0x305/0x42d
[   35.329635]  [<ffffffff810f5d7e>] ? seq_read+0x0/0x42d
[   35.329676]  [<ffffffff81129e8c>] proc_reg_read+0x8d/0xac
[   35.329717]  [<ffffffff810db7e0>] vfs_read+0xe0/0x140
[   35.329758]  [<ffffffff810db8f6>] sys_read+0x45/0x69
[   35.329799]  [<ffffffff810025eb>] system_call_fastpath+0x16/0x1b

Maybe I need to go and stick the "RCU whinge multiple times" patch on this
kernel and get it over with. :)
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
mmotm 2010-04-28-16-53 uploaded, akpm, (Wed Apr 28, 4:53 pm)
Re: mmotm 2010-04-28-16-53 uploaded, Valdis.Kletnieks, (Thu Apr 29, 2:32 pm)
Re: mmotm 2010-04-28-16-53 uploaded, Andrew Morton, (Thu Apr 29, 2:53 pm)
Re: mmotm 2010-04-28-16-53 uploaded, Andrew Morton, (Thu Apr 29, 3:00 pm)
Re: mmotm 2010-04-28-16-53 uploaded, Lee Schermerhorn, (Fri Apr 30, 5:11 am)
Re: mmotm 2010-04-28-16-53 uploaded, Lee Schermerhorn, (Fri Apr 30, 11:02 am)
Re: mmotm 2010-04-28-16-53 uploaded, Valdis.Kletnieks, (Fri Apr 30, 11:47 am)
Re: mmotm 2010-04-28-16-53 uploaded, Lee Schermerhorn, (Fri Apr 30, 12:05 pm)
mmotm 2010-04-28 - nouveau driver issues, Valdis.Kletnieks, (Sun May 2, 10:38 am)
mmotm 2010-04-28 - RCU whinges, Valdis.Kletnieks, (Sun May 2, 10:46 am)
Re: mmotm 2010-04-28 - RCU whinges, Eric Dumazet, (Sun May 2, 10:38 pm)
Re: mmotm 2010-04-28 - RCU whinges, Eric Dumazet, (Sun May 2, 10:41 pm)
Re: mmotm 2010-04-28 - RCU whinges, Eric Dumazet, (Sun May 2, 10:43 pm)
Re: mmotm 2010-04-28 - RCU whinges, David Miller, (Sun May 2, 10:55 pm)
Re: mmotm 2010-04-28 - RCU whinges, Valdis.Kletnieks, (Mon May 3, 7:30 am)
Re: mmotm 2010-04-28 - RCU whinges, Eric Dumazet, (Mon May 3, 7:48 am)
Re: mmotm 2010-04-28 - RCU whinges, Eric Dumazet, (Mon May 3, 7:58 am)
Re: mmotm 2010-04-28 - RCU whinges, Valdis.Kletnieks, (Mon May 3, 8:29 am)
Re: mmotm 2010-04-28 - RCU whinges, Paul E. McKenney, (Mon May 3, 8:43 am)
Re: mmotm 2010-04-28 - RCU whinges, Eric Dumazet, (Mon May 3, 9:14 am)
Re: mmotm 2010-04-28 - RCU whinges, Paul E. McKenney, (Mon May 3, 11:16 am)
[PATCH net-next-2.6] net: if6_get_next() fix, Eric Dumazet, (Mon May 3, 12:46 pm)
Re: [PATCH net-next-2.6] net: if6_get_next() fix, David Miller, (Mon May 3, 1:09 pm)
Re: [PATCH net-next-2.6] net: if6_get_next() fix, Eric Dumazet, (Mon May 3, 1:13 pm)
Re: [PATCH net-next-2.6] net: if6_get_next() fix, David Miller, (Mon May 3, 1:24 pm)
Re: [PATCH net-next-2.6] net: if6_get_next() fix, Eric Dumazet, (Mon May 3, 1:50 pm)
Re: [PATCH net-next-2.6] net: if6_get_next() fix, David Miller, (Mon May 3, 3:17 pm)
Re: [PATCH net-next-2.6] net: if6_get_next() fix, Paul E. McKenney, (Mon May 3, 3:48 pm)
Re: [PATCH net-next-2.6] net: if6_get_next() fix, Paul E. McKenney, (Mon May 3, 3:52 pm)
Re: [PATCH net-next-2.6] net: if6_get_next() fix, David Miller, (Mon May 3, 3:54 pm)
Re: mmotm 2010-04-28 - RCU whinges, Patrick McHardy, (Mon May 10, 8:40 am)
Re: mmotm 2010-04-28 - RCU whinges, Eric Dumazet, (Mon May 10, 8:56 am)
Re: mmotm 2010-04-28 - RCU whinges, Eric Dumazet, (Mon May 10, 8:57 am)
Re: mmotm 2010-04-28 - RCU whinges, Paul E. McKenney, (Mon May 10, 8:57 am)
Re: mmotm 2010-04-28 - RCU whinges, Patrick McHardy, (Mon May 10, 9:03 am)
Re: mmotm 2010-04-28 - RCU whinges, Patrick McHardy, (Mon May 10, 9:04 am)
Re: mmotm 2010-04-28 - RCU whinges, David Miller, (Mon May 10, 9:12 am)
Re: mmotm 2010-04-28 - RCU whinges, Patrick McHardy, (Mon May 10, 9:27 am)
Re: mmotm 2010-04-28 - RCU whinges, Patrick McHardy, (Mon May 10, 9:53 am)