lkml.org 
[lkml]   [2005]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [2.6 patch] mm/slab: unexport kmem_cache_alloc_node
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-07-27 23:04    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site