summaryrefslogtreecommitdiffstats
path: root/kernel/jump_label.c
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2013-08-09 19:51:56 +0530
committerH. Peter Anvin <hpa@linux.intel.com>2013-08-09 07:53:50 -0700
commit4a1ed4ca681e7df38ed1b609a11aab38cbc515b3 (patch)
tree54206caf9c98f99df114613a160d816e4a08f9e7 /kernel/jump_label.c
parent354714dd2607778692db53947ab93b74956494e5 (diff)
downloadlinux-4a1ed4ca681e7df38ed1b609a11aab38cbc515b3.tar.bz2
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 <jeremy@goop.org> Link: http://lkml.kernel.org/r/1376058122-8248-9-git-send-email-raghavendra.kt@linux.vnet.ibm.com Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Tested-by: Attilio Rao <attilio.rao@citrix.com> Signed-off-by: Raghavendra K T <raghavendra.kt@linux.vnet.ibm.com> Acked-by: Ingo Molnar <mingo@kernel.org> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'kernel/jump_label.c')
0 files changed, 0 insertions, 0 deletions