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, 4 Aug 2006 22:23:56 -0400
From:	Dave Jones <davej@...hat.com>
To:	Linus Torvalds <torvalds@...l.org>,
	Michal Piotrowski <michal.k.k.piotrowski@...il.com>,
	LKML <linux-kernel@...r.kernel.org>
Subject: Re: 2.6.18-rc3-g3b445eea BUG: warning at /usr/src/linux-git/kernel/cpu.c:51/unlock_cpu_hotplug()

On Fri, Aug 04, 2006 at 10:10:51PM -0400, Dave Jones wrote:

 > So I added this diff..
 > 
 > diff --git a/kernel/cpu.c b/kernel/cpu.c
 > index f230f9a..31210a0 100644
 > --- a/kernel/cpu.c
 > +++ b/kernel/cpu.c
 > @@ -31,6 +31,14 @@ void lock_cpu_hotplug(void)
 >  {
 >  	struct task_struct *tsk = current;
 >  
 > +	if (jiffies > HZ * 60) {

....
 
 >  void unlock_cpu_hotplug(void)
 >  {
 > +	if (jiffies > HZ * 120) {
                           ^^^
Duh.  Everything becomes clearer the moment you post a diff to lkml.

		Dave

-- 
http://www.codemonkey.org.uk
-
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