Re: [PATCH] reduce fragmentation due to kmem_cache_alloc_node

From: Manfred Spraul
Date: Mon Oct 11 2004 - 13:09:41 EST


Badari Pulavarty wrote:

Manfred,

This patch seems to work fine on my AMD machine.
I tested your patch on 2.6.9-rc2-mm3.

It seemed to have fixed fragmentation problem I was
observing, but I don't think it fixed the problem
completely. I still see some fragmentation, with
repeated tests of scsi-debug, but it could be due
to the test. I will collect more numbers..



Did you disable the !CONFIG_NUMA block from <linux/slab.h> or leave it enabled? If the CONFIG_NUMA test is in the header file, then my patch is identical to you proposal, except that I've changed the global declaration instead of just the call from alloc_percpu.

--
Manfred
-
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/