From: Gerald Schaefer Date: Fri, 26 Feb 2010 21:37:40 +0000 (+0100) Subject: [S390] spinlock: check virtual cpu running status X-Git-Tag: v2.6.34-rc1~268^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59b697874529f5c3cbcaf5816b3d6c584af521e8;p=pandora-kernel.git [S390] spinlock: check virtual cpu running status This patch introduces a new function that checks the running status of a cpu in a hypervisor. This status is not virtualized, so the check is only correct if running in an LPAR. On acquiring a spinlock, if the cpu holding the lock is scheduled by the hypervisor, we do a busy wait on the lock. If it is not scheduled, we yield over to that cpu. Signed-off-by: Gerald Schaefer Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed