All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anton Blanchard <anton@samba.org>
To: Christoph Lameter <christoph@lameter.com>
Cc: akpm@osdl.org, manfred@colorfullife.com, linux-kernel@vger.kernel.org
Subject: Re: slab not freeing with current -git
Date: Wed, 6 Jul 2005 09:55:21 +1000	[thread overview]
Message-ID: <20050705235521.GN12786@krispykreme> (raw)
In-Reply-To: <Pine.LNX.4.62.0507051632100.2289@graphe.net>

 
> What does pcibus_to_node return for the pcibus device that you are trying 
> to allocate for?

Its using the default. Looking at include/asm-generic/topology.h:

#ifndef pcibus_to_node
#define pcibus_to_node(node)    (-1)
#endif

I wonder what kmalloc_node does when you pass it -1.

Anton

Index: foobar2/include/asm-generic/topology.h
===================================================================
--- foobar2.orig/include/asm-generic/topology.h	2005-07-02 15:56:13.000000000 +1000
+++ foobar2/include/asm-generic/topology.h	2005-07-06 09:39:51.364361274 +1000
@@ -42,7 +42,7 @@
 #define node_to_first_cpu(node)	(0)
 #endif
 #ifndef pcibus_to_node
-#define pcibus_to_node(node)	(-1)
+#define pcibus_to_node(node)	(0)
 #endif
 
 #ifndef pcibus_to_cpumask

  reply	other threads:[~2005-07-06  0:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-05 22:45 slab not freeing with current -git Anton Blanchard
2005-07-05 22:51 ` Christoph Lameter
2005-07-05 22:59   ` Anton Blanchard
2005-07-05 23:33     ` Christoph Lameter
2005-07-05 23:55       ` Anton Blanchard [this message]
2005-07-06  0:05         ` Christoph Lameter
2005-07-06  1:04           ` Anton Blanchard
2005-07-06  1:27             ` Christoph Lameter

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=20050705235521.GN12786@krispykreme \
    --to=anton@samba.org \
    --cc=akpm@osdl.org \
    --cc=christoph@lameter.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=manfred@colorfullife.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.