[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20071017.212704.34759303.davem@davemloft.net>
Date: Wed, 17 Oct 2007 21:27:04 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: xemul@...nvz.org
Cc: netdev@...r.kernel.org, devel@...nvz.org
Subject: Re: [PATCH] Consolidate creation of kmem caches with "calculated"
names
From: Pavel Emelyanov <xemul@...nvz.org>
Date: Wed, 17 Oct 2007 17:09:30 +0400
> Some places in network (like protocol registration and dccp)
> generate the kmem cache name with snprintf() to create caches
> for several protocols with similar names.
>
> Make the routine that makes this in one place. Possibly, this
> is better to be put in mm/sl[uoa]b.c, but I haven't found
> any other places in kernel that require such functionality,
> so put this code (temporary?) in net/core/util.c
>
> Signed-off-by: Pavel Emelyanov <xemul@...nvz.org>
I don't think we should be putting kmem_*() interfaces in
a place like net/core/utils.c, please submit that seperately
to the SLAB and/or SLUB maintainers, and once that it in
we can add the uses to the networking.
Tanks.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists