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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- References:
- 2.6.18-rc3-g3b445eea BUG: warning at /usr/src/linux-git/kernel/cpu.c:51/unlock_cpu_hotplug()
- From: "Michal Piotrowski" <[email protected]>
- Re: 2.6.18-rc3-g3b445eea BUG: warning at /usr/src/linux-git/kernel/cpu.c:51/unlock_cpu_hotplug()
- From: Linus Torvalds <[email protected]>
- Re: 2.6.18-rc3-g3b445eea BUG: warning at /usr/src/linux-git/kernel/cpu.c:51/unlock_cpu_hotplug()
- From: Dave Jones <[email protected]>
- Re: 2.6.18-rc3-g3b445eea BUG: warning at /usr/src/linux-git/kernel/cpu.c:51/unlock_cpu_hotplug()
- From: Dave Jones <[email protected]>
- Re: 2.6.18-rc3-g3b445eea BUG: warning at /usr/src/linux-git/kernel/cpu.c:51/unlock_cpu_hotplug()
- From: Dave Jones <[email protected]>
- 2.6.18-rc3-g3b445eea BUG: warning at /usr/src/linux-git/kernel/cpu.c:51/unlock_cpu_hotplug()
- Prev by Date: Re: 2.6.18-rc3-g3b445eea BUG: warning at /usr/src/linux-git/kernel/cpu.c:51/unlock_cpu_hotplug()
- Next by Date: Re: [PATCH] module interface improvement for kprobes
- Previous by thread: Re: 2.6.18-rc3-g3b445eea BUG: warning at /usr/src/linux-git/kernel/cpu.c:51/unlock_cpu_hotplug()
- Next by thread: Re: 2.6.18-rc3-g3b445eea BUG: warning at /usr/src/linux-git/kernel/cpu.c:51/unlock_cpu_hotplug()
- Index(es):