Re: [PATCH] 2.3.99x: SMP race in getblk()?

Andrea Arcangeli (andrea@suse.de)
Fri, 14 Apr 2000 14:30:55 +0200 (CEST)


On Fri, 14 Apr 2000, Steve Dodd wrote:

>[CC'd to linux-mm at Rik's suggestion]
>
>This is a first attempt at a fix for what I /think/ is a potential race
>condition in getblk. There seems to be a small window where multiple

Good spotting, that is conceptually necessary. However right now it
coulnd't trigger in real life since it seems the fs are all calling getblk
with the big kernel lock held. But really the raw device access was just
harmed by that SMP race condition.

Andrea

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