Re: remove cpu hotplug bustification in cpufreq.

From: Andrew Morton
Date: Sun Jul 23 2006 - 01:43:51 EST


On Sat, 22 Jul 2006 18:15:32 -0700 (PDT)
Linus Torvalds <torvalds@xxxxxxxx> wrote:

>
>
> On Sat, 22 Jul 2006, Andrew Morton wrote:
> >
> > It was just wrong in conception. We should not and probably cannot fix it.
> > Let's just delete it all, then implement version 2.
>
> Well, I just got Ashok's trial patches which turns the thing into a rwsem
> as I outlined earlier.

Mark my words ;)

> I'll try them out. If they don't work, we should just delete the lock and
> go totally back to square 1.

rwsem conversion has the potential to merely hide the problem. Ingo, does
lockdep detect recursive down_read()?
-
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/