diff options
author | Tony Luck <tony.luck@intel.com> | 2010-06-30 10:46:16 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-08-02 10:21:29 -0700 |
commit | d1a6b6c9ed5d5965d4961e39d57bfae3f8ac94ed (patch) | |
tree | 5e3a8b8b2dcf429daebaa7d08e464c3fb4d7c3ab /lib/flex_array.c | |
parent | fe17e2bb5f588ee25647a5087710bab3e70d4e86 (diff) |
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>
Diffstat (limited to 'lib/flex_array.c')
0 files changed, 0 insertions, 0 deletions