Re: [2.6 patch] mm/slab: unexport kmem_cache_alloc_node

From: Christoph Lameter
Date: Wed Jul 27 2005 - 16:02:43 EST


On Wed, 27 Jul 2005, Adrian Bunk wrote:

> > I fully agree. Drivers will have to use that call in the future in order
> > to properly place their control structures. The e1000 in your tree already
> > does so and may be compiled as a module. Thus applying this patch will
> > break mm.
>
> I don't see e1000 in 2.6.13-rc3-mm2 using it.

Hmmm. Ok. e1000 only uses kmalloc_node which is based on
kmem_cache_alloc_node. However, kmalloc_node will likely become a
macro like kmalloc.

Applying the patch would mean that modules would only be
able to use kmalloc_node and not able to allocate node specific memory
from one of the slab caches.



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