Re: 2.6.18-rc3-g3b445eea BUG: warning at /usr/src/linux-git/kernel/cpu.c:51/unlock_cpu_hotplug()
From: Dave Jones
Date: Fri Aug 04 2006 - 22:22:14 EST
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/