lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 24 Oct 2014 12:39:15 -0400
From:	Sasha Levin <sasha.levin@...cle.com>
To:	paulmck@...ux.vnet.ibm.com
CC:	Dave Jones <davej@...hat.com>,
	Linux Kernel <linux-kernel@...r.kernel.org>, htejun@...il.com
Subject: Re: rcu_preempt detected stalls.

On 10/24/2014 12:13 PM, Paul E. McKenney wrote:
> On Fri, Oct 24, 2014 at 08:28:40AM -0400, Sasha Levin wrote:
>> > On 10/23/2014 03:58 PM, Paul E. McKenney wrote:
>>> > > On Thu, Oct 23, 2014 at 02:55:43PM -0400, Sasha Levin wrote:
>>>>> > >> > On 10/23/2014 02:39 PM, Paul E. McKenney wrote:
>>>>>>> > >>> > > On Tue, Oct 14, 2014 at 10:35:10PM -0400, Sasha Levin wrote:
>>>>>>>>> > >>>> > >> On 10/13/2014 01:35 PM, Dave Jones wrote:
>>>>>>>>>>> > >>>>> > >>> oday in "rcu stall while fuzzing" news:
>>>>>>>>>>> > >>>>> > >>>
>>>>>>>>>>> > >>>>> > >>> INFO: rcu_preempt detected stalls on CPUs/tasks:
>>>>>>>>>>> > >>>>> > >>> 	Tasks blocked on level-0 rcu_node (CPUs 0-3): P766 P646
>>>>>>>>>>> > >>>>> > >>> 	Tasks blocked on level-0 rcu_node (CPUs 0-3): P766 P646
>>>>>>>>>>> > >>>>> > >>> 	(detected by 0, t=6502 jiffies, g=75434, c=75433, q=0)
>>>>>>>>> > >>>> > >>
>>>>>>>>> > >>>> > >> I've complained about RCU stalls couple days ago (in a different context)
>>>>>>>>> > >>>> > >> on -next. I guess whatever causing them made it into Linus's tree?
>>>>>>>>> > >>>> > >>
>>>>>>>>> > >>>> > >> https://lkml.org/lkml/2014/10/11/64
>>>>>>> > >>> > > 
>>>>>>> > >>> > > And on that one, I must confess that I don't see where the RCU read-side
>>>>>>> > >>> > > critical section might be.
>>>>>>> > >>> > > 
>>>>>>> > >>> > > Hmmm...  Maybe someone forgot to put an rcu_read_unlock() somewhere.
>>>>>>> > >>> > > Can you reproduce this with CONFIG_PROVE_RCU=y?
>>>>> > >> > 
>>>>> > >> > Paul, if that was directed to me - Yes, I see stalls with CONFIG_PROVE_RCU
>>>>> > >> > set and nothing else is showing up before/after that.
>>> > > Indeed it was directed to you.  ;-)
>>> > > 
>>> > > Does the following crude diagnostic patch turn up anything?
>> > 
>> > Nope, seeing stalls but not seeing that pr_err() you added.
> OK, color me confused.  Could you please send me the full dmesg or a
> pointer to it?

Attached.


Thanks,
Sasha

Download attachment "log.xz" of type "application/x-xz" (174240 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ