Nick Piggin 54af6233d1 JFS is missing a memory barrier
JFS is missing a memory barrier needed to close the critical section before
clearing the lock bit. Use lock bitops for this.

unlock_page() has a second barrier after clearing the lock, which is
required because it checks whether the waitqueue is active without locks.
Such a barrier is not required here because the waitqueue spinlock is
always taken (something to think about if performance is an issue).

Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Dave Kleikamp <shaggy@linux.vnet.ibm.com>
2008-01-03 13:11:44 -06:00
..
2006-10-02 09:55:27 -05:00
2007-10-16 09:42:58 -07:00
2006-10-02 09:55:27 -05:00
2006-10-02 09:55:27 -05:00
2006-10-02 09:55:27 -05:00
2007-06-13 10:17:50 -05:00
2007-10-22 08:13:20 -07:00
2007-04-26 07:30:29 -05:00
2008-01-03 13:11:44 -06:00
2006-10-02 09:55:27 -05:00
2006-10-02 09:55:27 -05:00
2007-10-17 08:43:02 -07:00
2006-10-02 09:55:27 -05:00
2006-10-02 09:55:27 -05:00
2006-10-02 09:55:27 -05:00
2006-10-02 09:55:27 -05:00
2006-02-09 09:09:16 -06:00
2007-10-22 08:13:20 -07:00