[PATCH] Directed yield: direct yield of spinlocks for s390.
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Sun, 1 Oct 2006 06:27:45 +0000 (23:27 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 1 Oct 2006 07:39:22 +0000 (00:39 -0700)
commit3c1fcfe229e99752c74efb945a4a3f560be04204
tree44085d9b599e06a92426141811a6f712beac17aa
parentcdc39363d33506b0e067d41fc91f89d186bdf7f7
[PATCH] Directed yield: direct yield of spinlocks for s390.

Use the new diagnose 0x9c in the spinlock implementation for s390.  It
yields the remaining timeslice of the virtual cpu that tries to acquire a
lock to the virtual cpu that is the current holder of the lock.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/s390/kernel/head31.S
arch/s390/kernel/head64.S
arch/s390/lib/spinlock.c
include/asm-s390/setup.h
include/asm-s390/spinlock.h
include/asm-s390/spinlock_types.h