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

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

  • Next message: James Sutherland: "Re: pre7-4 to pre7-6 breaks VMWare module build"

    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 : Sat May 06 2000 - 12:20:16 EDT