a2a64769d0
current->blocked will be set to the value of current->thread_info->flags if the cmpxchg to update thread_info->flags fails. For performance reasons the store into current->blocked was placed in the cmpxchg loop. However, the cmpxchg overwrites the register holding the value to be stored. In the rare case of a retry the value of thread_info->flags will be written into current->blocked. The fix is to use another register so that the register containing the current->blocked value is not overwritten. Signed-off-by: Christoph Lameter <clameter@sgi.com> Signed-off-by: Tony Luck <tony.luck@intel.com> |
||
---|---|---|
.. | ||
Makefile | ||
acpi-ext.c | ||
acpi.c | ||
asm-offsets.c | ||
brl_emu.c | ||
cyclone.c | ||
domain.c | ||
efi.c | ||
efi_stub.S | ||
entry.S | ||
entry.h | ||
fsys.S | ||
gate-data.S | ||
gate.S | ||
gate.lds.S | ||
head.S | ||
ia64_ksyms.c | ||
init_task.c | ||
iosapic.c | ||
irq.c | ||
irq_ia64.c | ||
irq_lsapic.c | ||
ivt.S | ||
machvec.c | ||
mca.c | ||
mca_asm.S | ||
mca_drv.c | ||
mca_drv.h | ||
mca_drv_asm.S | ||
minstate.h | ||
module.c | ||
pal.S | ||
palinfo.c | ||
patch.c | ||
perfmon.c | ||
perfmon_default_smpl.c | ||
perfmon_generic.h | ||
perfmon_itanium.h | ||
perfmon_mckinley.h | ||
process.c | ||
ptrace.c | ||
sal.c | ||
salinfo.c | ||
semaphore.c | ||
setup.c | ||
sigframe.h | ||
signal.c | ||
smp.c | ||
smpboot.c | ||
sys_ia64.c | ||
time.c | ||
topology.c | ||
traps.c | ||
unaligned.c | ||
unwind.c | ||
unwind_decoder.c | ||
unwind_i.h | ||
vmlinux.lds.S |