]> git.baikalelectronics.ru Git - kernel.git/commit
[IA64] Fix spinaphore down_spin()
authorTony Luck <tony.luck@intel.com>
Wed, 30 Jun 2010 17:46:16 +0000 (10:46 -0700)
committerTony Luck <tony.luck@intel.com>
Wed, 30 Jun 2010 17:46:16 +0000 (10:46 -0700)
commit96b9a66addd0b468966bdebd2fc25ec54835b4d4
tree284c14c836412acdd0572ef020499749bca602d8
parenta57519b069f9f339c0af95dfa22e078ecc370529
[IA64] Fix spinaphore down_spin()

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 da4ee519f96fffe3094b56844479b067ba334434
    [IA64] Re-implement spinaphores using ticket lock concepts

Reported via IRC by Bjorn Helgaas

Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/mm/tlb.c