Re: [RFC]:lock_super race possible?

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


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 : Tue May 23 2000 - 21:00:17 EST