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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux