Re: [Patch v2] rwsem: fix rwsem_is_locked() bugs
From: David Howells
Date: Tue Oct 06 2009 - 03:20:45 EST
Amerigo Wang <amwang@xxxxxxxxxx> wrote:
> Since if we have locks, we don't need memory barriers any more, right?
Indeed - locks are implicit memory barriers.
David
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/