* 2.6.17-rt1: Patch for NUMA mm/slab.c
@ 2006-06-25 2:12 Robert Crocombe
2006-06-27 10:12 ` Ingo Molnar
0 siblings, 1 reply; 2+ messages in thread
From: Robert Crocombe @ 2006-06-25 2:12 UTC (permalink / raw)
To: LKML, Ingo Molnar
[-- Attachment #1: Type: text/plain, Size: 220 bytes --]
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@raytheon.com>
--
Robert Crocombe
rwcrocombe@raytheon.com
[-- Attachment #2: missing_this_cpu_in_slab_c --]
[-- Type: text/plain, Size: 776 bytes --]
--- 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);
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: 2.6.17-rt1: Patch for NUMA mm/slab.c
2006-06-25 2:12 2.6.17-rt1: Patch for NUMA mm/slab.c Robert Crocombe
@ 2006-06-27 10:12 ` Ingo Molnar
0 siblings, 0 replies; 2+ messages in thread
From: Ingo Molnar @ 2006-06-27 10:12 UTC (permalink / raw)
To: Robert Crocombe; +Cc: LKML, Paul E. McKenney
* Robert Crocombe <rwcrocombe@raytheon.com> wrote:
> Needed to add this_cpu in 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-06-27 10:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-25 2:12 2.6.17-rt1: Patch for NUMA mm/slab.c Robert Crocombe
2006-06-27 10:12 ` Ingo Molnar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).