Re: remove cpu hotplug bustification in cpufreq.

From: Linus Torvalds
Date: Tue Jul 25 2006 - 17:04:25 EST




On Tue, 25 Jul 2006, Dave Jones wrote:
>
> Things used to be fairly simple until hotplug cpu came along :-/
> Each day, I'm getting more of the opinion that my patch just ripping
> out this garbage is the right solution.

I think your patch is fine, but the cpu_hotplug_lock() should probably be
taken by the callers much higher up in the stack, and then we could just
have the rule that by the time any real cpufreq code is actually entered,
we should hold the lock already.

Linus
-
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/