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

From: Robert Crocombe
Date: Sat Jun 24 2006 - 23:04:11 EST


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 <rwcrocombe@xxxxxxxxxxxx>

--
Robert Crocombe
rwcrocombe@xxxxxxxxxxxx
--- 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);
}