2.6.17-rt1: Patch for NUMA mm/slab.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Needed to add this_cpu in a couple of places. Compiled and no problems so far...

Hopefully not mangled by mailer.

Signed-off-by: Robert Crocombe <[email protected]>

--
Robert Crocombe
[email protected]
--- linux-2.6.17/mm/slab.c	2006-06-24 16:17:08.000000000 -0700
+++ 2.6.17-rt/mm/slab.c	2006-06-24 15:39:40.000000000 -0700
@@ -3243,14 +3243,16 @@
 				if (unlikely(alien->avail == alien->limit)) {
 					STATS_INC_ACOVERFLOW(cachep);
 					__drain_alien_cache(cachep,
-							    alien, nodeid);
+							    alien, nodeid,
+                                                            this_cpu);
 				}
 				alien->entry[alien->avail++] = objp;
 				spin_unlock(&alien->lock);
 			} else {
 				spin_lock(&(cachep->nodelists[nodeid])->
 					  list_lock);
-				free_block(cachep, &objp, 1, nodeid);
+				free_block(cachep, &objp, 1, nodeid,
+                                                this_cpu);
 				spin_unlock(&(cachep->nodelists[nodeid])->
 					    list_lock);
 			}

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux