Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.4.13-ac1 /lib/brlock.c

Filename:/lib/brlock.c
Lines Added:1
Lines Deleted:0
Also changed in: (Previous) 2.4.12-ac6  2.4.12-ac4  2.4.12-ac5  2.4.6  2.4.6-pre9  2.4.6-pre8 
(Following) 2.4.13-ac2  2.4.13-ac3  2.4.13-ac4  2.4.13-ac5  2.4.13-ac6  2.4.13-ac7 

Location
[  2.4.13-ac1
  [  lib
     o  brlock.c

Patch

diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla/lib/brlock.c linux.ac/lib/brlock.c
--- linux.vanilla/lib/brlock.c   Sat Jun 30 03:38:26 2001
+++ linux.ac/lib/brlock.c   Sun Oct 21 18:38:23 2001
@@ -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;
       }
 }


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.