2.6.17-rt1: Patch for NUMA mm/slab.c
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]>
Signature · 2 lines
Robert Crocombe [email protected]
mm/slab.c +4 -2
@@ -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); }
Quoted 2 lines · Robert Crocombe
Needed to add
this_cpuin a couple of places. Compiled and no problems so far...
thanks. I ended up applying Paul E. McKenney's patch which he sent shortly before you.
Ingo