Re: write_unlock: replace clear_bit with byte store

From: David Mosberger <>
Date: 2005-04-29 21:37:25
>>>>> On Thu, 28 Apr 2005 13:53:11 -0700 (PDT), Christoph Lameter <> said:

  Christoph> I thought that a memory barrier was needed to insure that
  Christoph> the clearing of the lock becomes visible after changes
  Christoph> done in the critical section?

With "volatile", the compiler will generate stX.rel...

  Christoph> y is defined in its own block.

Ummh, macros 101: think about what happens for _raw_write_unlock(y)...

To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at
Received on Fri Apr 29 07:37:49 2005

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:37 EST