summaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/spinlock.h
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2014-09-22 16:25:25 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2014-09-25 10:52:12 +0200
commit94232a4332de3bc210e7067fd43521b3eb12336a (patch)
treec89dddb5957396d5ae1b9814496064ad6135fa9a /arch/s390/include/asm/spinlock.h
parents390/rwlock: remove interrupt-enabling rwlock variant. (diff)
downloadlinux-94232a4332de3bc210e7067fd43521b3eb12336a.tar.xz
linux-94232a4332de3bc210e7067fd43521b3eb12336a.zip
s390/rwlock: improve writer fairness
Set the write-lock bit in the out-of-line rwlock code to indicate that a writer is waiting. Additional readers will no be able to get the lock until at least one writer got the lock. Additional writers have to wait for the first writer to release the lock again. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/spinlock.h')
0 files changed, 0 insertions, 0 deletions