diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2005-09-03 22:58:05 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@evo.osdl.org> | 2005-09-05 07:06:29 (GMT) |
commit | 9513e5e3f5a6b429da8a9fd4330f71f1e547c8e0 (patch) | |
tree | 7585e2271d2fc3393aa2368cd7dad85d7552cd97 /drivers/s390 | |
parent | c563077e526d130b8c9aab4e75116551eb5fdc2d (diff) | |
download | linux-fsl-qoriq-9513e5e3f5a6b429da8a9fd4330f71f1e547c8e0.tar.xz |
[PATCH] s390: spinlock corner case
On s390 the lock value used for spinlocks consists of the lower 32 bits of the
PSW that holds the lock. If this address happens to be on a four gigabyte
boundary the lock is left unlocked. This allows other cpus to grab the same
lock and enter a lock protected code path concurrently. In theory this can
happen if the vmalloc area for the code of a module crosses a 4 GB boundary.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/s390')
0 files changed, 0 insertions, 0 deletions