| Kernel v2.4.17-rc2 /fs/dcache.c |
|---|
 2.4.17-rc2
 fs
 dcache.c
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 Thu Oct 4 05:57:36 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()
|