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

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

Advertisement

Kernel v2.4.17-pre8 /mm/highmem.c

Filename:/mm/highmem.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.19-pre1-ac3  2.4.19-pre2-ac2  2.4.19-pre2-ac3 

Location
[  2.4.17-pre8
  [  mm
     o  highmem.c

Patch

diff -Naur -X /home/marcelo/lib/dontdiff linux-2.4.16/mm/highmem.c linux/mm/highmem.c
--- linux-2.4.16/mm/highmem.c   Mon Nov 26 10:35:00 2001
+++ linux/mm/highmem.c   Fri Dec  7 18:58:23 2001
@@ -32,7 +32,7 @@
  */
 static int pkmap_count[LAST_PKMAP];
 static unsigned int last_pkmap_nr;
-static spinlock_t kmap_lock = SPIN_LOCK_UNLOCKED;
+static spinlock_t kmap_lock __cacheline_aligned_in_smp = SPIN_LOCK_UNLOCKED;
 
 pte_t * pkmap_page_table;
 


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