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

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

Advertisement

Kernel v2.4.17-pre8 /fs/dcache.c

Filename:/fs/dcache.c
Lines Added:1
Lines Deleted:1
Also changed in: (Previous) 2.4.17-pre7  2.4.17-pre6  2.4.13-ac8  2.4.13-ac7  2.4.13-ac6  2.4.13-ac5 
(Following) 2.4.17-rc1  2.4.17-rc2  2.4.17  2.4.18-pre3-ac1  2.4.18-pre3-ac2  2.4.18-pre7 

Location
[  2.4.17-pre8
  [  fs
     o  dcache.c

Patch

diff -Naur -X /home/marcelo/lib/dontdiff linux-2.4.16/fs/dcache.c linux/fs/dcache.c
--- linux-2.4.16/fs/dcache.c   Mon Nov 26 10:35:00 2001
+++ linux/fs/dcache.c   Fri Dec  7 18:58:23 2001
@@ -29,7 +29,7 @@
 #define DCACHE_PARANOIA 1
 /* #define DCACHE_DEBUG 1 */
 
-spinlock_t dcache_lock = SPIN_LOCK_UNLOCKED;
+spinlock_t dcache_lock __cacheline_aligned_in_smp = SPIN_LOCK_UNLOCKED;
 
 /* Right now the dcache depends on the kernel lock */
 #define check_lock()   if (!kernel_locked()) BUG()


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