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

Andi Kleen
2011-01-26T00:19:05Z

Arnd Bergmann <arnd@arndb.de> writes:

> This removes the BKL in hpfs in a rather awful
> way, by replacing it with a mutex that basically
> serializes the entire file system.

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

-Andi

[1] showing my age
--
Andi Kleen
Intel Open Source Technology Center