public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Robert Crocombe <rwcrocombe@raytheon.com>
To: LKML <linux-kernel@vger.kernel.org>, Ingo Molnar <mingo@elte.hu>
Subject: 2.6.17-rt1: Patch for NUMA mm/slab.c
Date: Sat, 24 Jun 2006 19:12:12 -0700	[thread overview]
Message-ID: <449DF0FC.1050609@raytheon.com> (raw)

[-- 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);
 			}

             reply	other threads:[~2006-06-25  2:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-25  2:12 Robert Crocombe [this message]
2006-06-27 10:12 ` 2.6.17-rt1: Patch for NUMA mm/slab.c Ingo Molnar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=449DF0FC.1050609@raytheon.com \
    --to=rwcrocombe@raytheon.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox