Re: [PATCH 10/20] hpfs: replace BKL with a global mutex

From: Andi Kleen
Date: Wed Jan 26 2011 - 11:52:21 EST


On Wed, Jan 26, 2011 at 01:50:42PM +0100, Arnd Bergmann wrote:
> On Wednesday 26 January 2011, Andi Kleen wrote:
> > I don't think that's a very good idea, there's danger
> > of holding it over IO and that would be really bad (as in like MINIX[1])
> >
> > It would be better to do it the i810 way and check for the number of
> > CPUs at module init time and refuse to run if it's > 1
>
> I don't see much value of one evil over the other, but why not. The code
> is going away anyway unless someone cleans it up further.

I think it's fine because systems running OS/2 likely only have
one CPU. This way these guys (if they exist) won't see any regression.

-Andi
--
Andi Kleen
Intel Open Source Technology Center
--
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/