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

From: Andrea Arcangeli (andrea@suse.de)
Date: Fri Apr 14 2000 - 07:30:55 EST


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/



This archive was generated by hypermail 2b29 : Sat Apr 15 2000 - 21:00:24 EST