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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 25 Feb 2009 05:12:59 +0100
From:	Nick Piggin <npiggin@...e.de>
To:	"Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>
Cc:	linux-kernel@...r.kernel.org, vegard.nossum@...il.com,
	mingo@...e.hu, stable@...nel.org, akpm@...ux-foundation.org,
	penberg@...helsinki.fi
Subject: Re: [PATCH] v3 Teach RCU that idle task is not quiscent state at boot

Looks OK to me. It's a bit "theoretically" displeasing that
you still treat synchronize_rcu as a gp even after we spawn
some kernel threads.

... but it probably isn't worth trying to rearrange the boot
code just to make this look better. I can't see any actual
problems that could arise, as the threads should not have
had a chance to run yet.

I wonder if you couldn't put in a WARN_ON(nr_context_switches() > 0)
in rcu_idle_now_means_idle() just in case?

On Tue, Feb 24, 2009 at 04:29:37PM -0800, Paul E. McKenney wrote:
> This patch fixes a bug located by Vegard Nossum with the aid of
> kmemcheck, updated based on review comments from Nick Piggin,
> Ingo Molnar, and Andrew Morton.
--
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