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
Adrian Bunk <bunk@stusta.de> wrote:
>
> I didn't find any modular usage of kmem_cache_alloc_node.
>
> Signed-off-by: Adrian Bunk <bunk@stusta.de>
>
> ---
>
> This patch was already sent on:
> - 2 Jul 2005
> - 21 Jun 2005
> - 30 May 2005
> - 15 May 2005

Yeah, I've been ducking that one.

> --- linux-2.6.11-mm1-full/mm/slab.c.old 2005-03-06 15:40:38.000000000 +0100
> +++ linux-2.6.11-mm1-full/mm/slab.c 2005-03-06 15:41:06.000000000 +0100
> @@ -2431,7 +2440,6 @@
> __builtin_return_address(0));
> return objp;
> }
> -EXPORT_SYMBOL(kmem_cache_alloc_node);
>
> #endif

Even though we don't currently have in-module users, we probably will do so
soon and it's a part of the slab API and the slab API is exported to
modules. I don't see much point in partially-exporting the API and
applying a patch which we'll soon revert.

Christoph?
-
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 22:16    [from the cache]
©2003-2011 Jasper Spaans