[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0703210742080.1573@graphe.net>
Date: Wed, 21 Mar 2007 07:42:51 -0700 (PDT)
From: Christoph Lameter <christoph@...eter.com>
To: Pekka Enberg <penberg@...helsinki.fi>
cc: Eric Dumazet <dada1@...mosbay.com>,
Andi Kleen <andi@...stfloor.org>,
Andrew Morton <akpm@...ux-foundation.org>,
linux kernel <linux-kernel@...r.kernel.org>
Subject: Re: [RFC, PATCH] SLAB : [NUMA] keep nodeid in struct page instead
of struct slab
On Wed, 21 Mar 2007, Pekka Enberg wrote:
> Can we please have a slab_get_nid() and slab_set_nid() instead which
> reduces the need for #ifdefs?
None of that please. The page flags already contain a node number that is
accessible via page_to_nid(). Just make sure that we never put a slab onto
the wrong node.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists