patch-2.4.15 linux/lib/brlock.c
Next file: linux/mm/filemap.c
Previous file: linux/kernel/signal.c
Back to the patch index
Back to the overall index
- Lines: 8
- Date:
Fri Nov 9 14:11:15 2001
- Orig file:
v2.4.14/linux/lib/brlock.c
- Orig date:
Tue Jul 3 17:08:22 2001
diff -u --recursive --new-file v2.4.14/linux/lib/brlock.c linux/lib/brlock.c
@@ -54,6 +54,7 @@
if (__brlock_array[cpu_logical_map(i)][idx] != 0) {
spin_unlock(&__br_write_locks[idx].lock);
barrier();
+ cpu_relax();
goto again;
}
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)