]> git.itanic.dy.fi Git - linux-stable/commit
Fix spinaphore down_spin()
authorTony Luck <tony.luck@intel.com>
Wed, 30 Jun 2010 17:46:16 +0000 (10:46 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 2 Aug 2010 17:30:22 +0000 (10:30 -0700)
commitcdfd88c2377e95b46a8d990de84af1b6ce8c0cd6
treed606dc696d8c5ba61804886a10acd83dd6bdd1dd
parentc1dbd27d6a46adc6e2021d0febfdc3898e383f05
Fix spinaphore down_spin()

commit b70f4e85bfc4d7000036355b714a92d5c574f1be upstream.

Typo in down_spin() meant it only read the low 32 bits of the
"serve" value, instead of the full 64 bits. This results in the
system hanging when the values in ticket/serve get larger than
32-bits. A big enough system running the right test can hit this
in a just a few hours.

Broken since 883a3acf5b0d4782ac35981227a0d094e8b44850
    [IA64] Re-implement spinaphores using ticket lock concepts

Reported via IRC by Bjorn Helgaas

Signed-off-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/ia64/mm/tlb.c