Re: [patch] turn on might_sleep() in early bootup code too

From: Zwane Mwaikambo
Date: Wed Jan 18 2006 - 23:33:15 EST


On Wed, 18 Jan 2006, Ingo Molnar wrote:

> lock_cpu_hotplug() has design problems i think: hotplug-locked sections
> are slowly spreading in the kernel, encompassing more and more code :-)
> Shouldnt the CPU hotplug lock be a spinlock to begin with?

The way it's used certainly is bizarre, but a spinlock would be harder to
work with as a lot of the code protected by it sleep.
-
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/