[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150220115651.GA4586@casper.infradead.org>
Date: Fri, 20 Feb 2015 11:56:51 +0000
From: "tgraf@...g.ch" <tgraf@...g.ch>
To: Daniel Borkmann <daniel@...earbox.net>
Cc: David Laight <David.Laight@...LAB.COM>,
"davem@...emloft.net" <davem@...emloft.net>,
"johunt@...mai.com" <johunt@...mai.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
Ying Xue <ying.xue@...driver.com>
Subject: Re: [PATCH net 1/3] rhashtable: don't test for shrink on insert,
expansion on delete
On 02/20/15 at 11:13am, Daniel Borkmann wrote:
> On 02/20/2015 11:08 AM, David Laight wrote:
> ...
> >Does it actually make sense to shrink below the initial default size?
>
> rhashtable has a min_shift parameter, shrinks cannot go below that.
Right, it's up to the user to set min_shift according to nelems hint
or not. I see use cases for both behaviours.
--
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