Re: Bad SMP race in getblk()

From: Linus Torvalds (torvalds@transmeta.com)
Date: Thu Aug 03 2000 - 18:54:15 EST


On Wed, 2 Aug 2000, Andrea Arcangeli wrote:

>
> I prefer to do it without lookup too and it's actually trivial to do that
> even in SMP. I did a patch against 2.4.0-test5 that should achieve that
> purpose (it compiles but I've not booted it).
>
> ftp://ftp.*.kernel.org/pub/linux/kernel/people/andrea/patches/v2.4/2.4.0-test5/getblk-smp-race-1

It looks pretty, but it seems to deadlock somewhere. Probably something
that gets called with the lock held and re-gets the lock..

                Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Aug 07 2000 - 21:00:12 EST