From: Jeremy Fitzhardinge Date: Fri, 9 Aug 2013 14:21:56 +0000 (+0530) Subject: x86, pvticketlock: When paravirtualizing ticket locks, increment by 2 X-Git-Tag: v3.12-rc1~152^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a1ed4ca681e7df38ed1b609a11aab38cbc515b3;p=pandora-kernel.git x86, pvticketlock: When paravirtualizing ticket locks, increment by 2 Increment ticket head/tails by 2 rather than 1 to leave the LSB free to store a "is in slowpath state" bit. This halves the number of possible CPUs for a given ticket size, but this shouldn't matter in practice - kernels built for 32k+ CPU systems are probably specially built for the hardware rather than a generic distro kernel. Signed-off-by: Jeremy Fitzhardinge Link: http://lkml.kernel.org/r/1376058122-8248-9-git-send-email-raghavendra.kt@linux.vnet.ibm.com Reviewed-by: Konrad Rzeszutek Wilk Tested-by: Attilio Rao Signed-off-by: Raghavendra K T Acked-by: Ingo Molnar Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed