Re: [PATCH] slab: cache alloc cleanups

From: Pekka Enberg
Date: Tue Jan 02 2007 - 15:27:38 EST


On Tue, 2 Jan 2007, Pekka J Enberg wrote:
> +
> + if (nodeid == -1 || nodeid == numa_node_id()) {
> + if (unlikely(current->flags & (PF_SPREAD_SLAB | PF_MEMPOLICY))) {
> + obj = alternate_node_alloc(cache, flags);
> + if (obj)
> + goto out;
> + }

On 1/2/07, Christoph Lameter <clameter@xxxxxxx> wrote:
This reintroduces a bug that was fixed a while ago.

Aah, well, we could have a can_mempolicy parameter, but I'm not sure
if it's an improvement to the current version still...
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/