[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.LFD.2.00.1209042356460.2017@ja.ssi.bg>
Date: Wed, 5 Sep 2012 00:00:39 +0300 (EEST)
From: Julian Anastasov <ja@....bg>
To: David Miller <davem@...emloft.net>
cc: eric.dumazet@...il.com, netdev@...r.kernel.org,
shemminger@...tta.com, paulmck@...ux.vnet.ibm.com
Subject: Re: [PATCH v2 1/2] tcp: add generic netlink support for
tcp_metrics
Hello,
On Tue, 4 Sep 2012, David Miller wrote:
> From: Julian Anastasov <ja@....bg>
> Date: Mon, 3 Sep 2012 11:22:15 +0300 (EEST)
>
> > BTW, is it appropriate to use kmem_cache for
> > metrics and as result call_rcu for freeing?
>
> I think it would work as things are implemented currently in
> slab/slub/slob, however I would not rely upon it.
>
> If you do move to a SLAB cache for the tcp metrics objects,
> you might consider SLAB_DESTROY_BY_RCU. It's a very delicate
> facility (read the huge comment in linux/slab.h) but I think
> it provides the semantics we need for TCP metrics blobs.
ok, I'll not mix it with the genl support
because I'm not prepared to do it soon...
> Looking forward to v3 :-)
Sending...
Regards
--
Julian Anastasov <ja@....bg>
--
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