[PATCH] 2.3.99-pre6: fix for SMP race in getblk()

From: Steve Dodd (steved@loth.demon.co.uk)
Date: Sat May 06 2000 - 10:22:45 EST


Hi Linus,

I believe the attached patch fixes a potential race in buffer.c:getblk() on
SMP machines. Most callers currently take the big kernel lock first, but
some don't - block_write, for example. I also nuked the comment at the top
of get_hash_table, because it really doesn't seem to make sense..



-
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 : Sun May 07 2000 - 21:00:19 EST