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:	Wed, 7 Sep 2011 23:39:41 +0200
From:	Frederic Weisbecker <fweisbec@...il.com>
To:	"Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>
Cc:	LKML <linux-kernel@...r.kernel.org>,
	David Miller <davem@...emloft.net>,
	Chris Metcalf <cmetcalf@...era.com>,
	Guan Xuetao <gxt@...c.pku.edu.cn>,
	Hans-Christian Egtvedt <hans-christian.egtvedt@...el.com>,
	Mike Frysinger <vapier@...too.org>,
	Ralf Baechle <ralf@...ux-mips.org>,
	Ingo Molnar <mingo@...e.hu>,
	Peter Zijlstra <a.p.zijlstra@...llo.nl>,
	Thomas Gleixner <tglx@...utronix.de>,
	"H. Peter Anvin" <hpa@...or.com>,
	Russell King <linux@....linux.org.uk>,
	Paul Mackerras <paulus@...ba.org>,
	Heiko Carstens <heiko.carstens@...ibm.com>,
	Paul Mundt <lethal@...ux-sh.org>
Subject: Re: [PATCH 1/4] nohz: Split extended quiescent state handling from
 nohz switch

On Wed, Sep 07, 2011 at 07:22:33AM -0700, Paul E. McKenney wrote:
> On Sun, Sep 04, 2011 at 04:36:43PM -0700, Paul E. McKenney wrote:
> > On Sat, Aug 20, 2011 at 07:30:49PM +0200, Frederic Weisbecker wrote:
> > > It is assumed that rcu won't be used once we switch to tickless
> > > mode and until we restart the tick. However this is not always
> > > true, as in x86-64 where we dereference the idle notifiers after
> > > the tick is stopped.
> > > 
> > > To prepare for fixing this, split the tickless mode switching and
> > > RCU extended quiescent state logics.
> > > Make tick_nohz_stop/restart_sched_tick() RCU agnostic but provide
> > > a new pair of APIs tick_nohz_enter/exit_idle() that keep the
> > > old behaviour by handling both the nohz mode and RCU extended
> > > quiescent states, then convert every archs to use these.
> > > 
> > > Archs that want to switch to RCU extended QS to some custom points
> > > can do it later by changing the parameter in tick_nohz_enter,exit_idle()
> > > to false and call rcu_enter,exit() separately.
> > 
> > This approach looks quite good to me!  A few comments below.
> 
> But I get RCU stall warnings when running it on powerpc on top of
> the patch set at:
> 
> 	https://lkml.org/lkml/2011/9/7/64
> 
> At first glance, it appears that CPUs are entering dyntick-idle
> mode without RCU being informed.  Any thoughts on diagnostics?
> 
> 							Thanx, Paul

Nothing looks wrong to me looking at the powerpc part in my patchset.
But I have no machine to test anything other than x86.

That said I can't even fetch your tree to test on x86 because of the
kernel.org's desolation.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ