summaryrefslogtreecommitdiff
path: root/scripts/conmakehash.c
diff options
context:
space:
mode:
authorNick Piggin <npiggin@suse.de>2007-11-26 20:58:10 (GMT)
committerDave Kleikamp <shaggy@linux.vnet.ibm.com>2008-01-03 19:11:44 (GMT)
commit54af6233d1cb84cdfaa6ea44ea0db0bcf518baac (patch)
tree031f07f853e18e2fe09b054a3a8e432424362e60 /scripts/conmakehash.c
parent67e6682f18b3bf812a994ae027ff87174a297ae8 (diff)
downloadlinux-fsl-qoriq-54af6233d1cb84cdfaa6ea44ea0db0bcf518baac.tar.xz
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>
Diffstat (limited to 'scripts/conmakehash.c')
0 files changed, 0 insertions, 0 deletions