Re: [RFC]:lock_super race possible?

From: Stephen C. Tweedie (sct@redhat.com)
Date: Fri May 19 2000 - 13:15:37 EDT

  • Next message: Petr Vandrovec: "Re: [linux-fbdev] Re: [PATCH] updated Mips Magnum frame buf"

    Hi,

    On Fri, May 19, 2000 at 05:48:24PM +0530, Amit S. Kale wrote:
    >
    > lock_super is currently implemented as follows:
    > if (sb->s_lock)
    > __wait_on_super(sb);
    > sb->s_lock ;
    >
    > Can this give rise to a race condition?

    Not so long as all callers still retain the global kernel lock.

    --Stephen

    -
    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 : Fri May 19 2000 - 13:17:39 EDT