[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150114215232.GF2105@casper.infradead.org>
Date: Wed, 14 Jan 2015 21:52:32 +0000
From: Thomas Graf <tgraf@...g.ch>
To: John Fastabend <john.fastabend@...il.com>
Cc: simon.horman@...ronome.com, sfeldma@...il.com,
netdev@...r.kernel.org, gerlitz.or@...il.com, jhs@...atatu.com,
andy@...yhouse.net, davem@...emloft.net
Subject: Re: [net-next PATCH v2 03/12] net: flow: implement flow cache for
get routines
On 01/13/15 at 01:36pm, John Fastabend wrote:
> I chose rhashtable to get the dynamic resizing. I could use arrays
> but I don't want to pre-allocate large cache tables when we may
> never use them.
>
> One oddity in the rhashtable implementation is there is no way
> AFAICS to do delayed free's so we use rcu_sync heavily. This should be
> fine, get operations shouldn't be a used heavily.
John, can you please clarify a bit, I'm not sure I understand. Are you
talking about delayed freeing of the table itself or elements?
The Netlink usage would be an example of a user with delayed element
freeing.
I'm glad to add whatever is required.
--
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