[Top] [All Lists]

[PATCH][NET] generalise per socket slab cache use

To: "David S.Miller" <davem@xxxxxxxxxx>
Subject: [PATCH][NET] generalise per socket slab cache use
From: Arnaldo Carvalho de Melo <acme@xxxxxxxxxxxxxxxx>
Date: Sat, 11 Sep 2004 00:23:32 -0300
Cc: Sridhar Samudrala <samudrala@xxxxxxxxxx>, YOSHIFUJI Hideaki <yoshfuji@xxxxxxxxxxxxxx>, netdev@xxxxxxxxxxx
Organization: Conectiva S.A.
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: KMail/1.7

 Please see if it is acceptable, if it is, please pull from:


 I want to improve it a bit by not passing the slab cache name to
sk_alloc_slab, but create the name from the sk->sk_prot->name member,
but unfortunately the kmem_cache_t struct stores a pointer to the slab
cache name, which also creates problems for other improvements, like
my __initstr patch, that moves the strings in __init and __exit functions to
.text.init and .text.exit, perhaps I should send a patch to the slab code
to have a char array to store the slab cache name.


Best Regards,

- Arnaldo

Attachment: slab.patch
Description: Text Data

<Prev in Thread] Current Thread [Next in Thread>