Message ID | 20171204183145.3277-1-tom@quantonium.net |
---|---|
Headers | show |
Series | rhashtable: New features in walk and bucket | expand |
From: Tom Herbert <tom@quantonium.net> Date: Mon, 4 Dec 2017 10:31:40 -0800 > This patch contains some changes to related rhashtable: > > - Above allow rhashtable_walk_start to return void > - Add a functon to peek at the next entry during a walk > - Abstract out function to compute a has for a table > - A library function to alloc a spinlocks bucket array > - Call the above function for rhashtable locks allocation > > Tested: Exercised using various operations on an ILA xlat > table. > > v2: > - Apply feedback from Herbert. Don't change semantics of resize > event reporting and -EAGAIN, just simplify API for callers that > ignore those. > - Add end_of_table in iter to reliably tell when the iterator has > reached to the eno. I'll allow Herbert time to think about this some more as he requested in comments against the first version of this series. Thanks.
On Tue, Dec 05, 2017 at 02:47:58PM -0500, David Miller wrote: > > I'll allow Herbert time to think about this some more as he requested > in comments against the first version of this series. Sorry for the late response. Tom's changes look good to me. We should also fix up all existing rhashtable users that dump through netlink to use the new peek interface. Thanks,
From: Herbert Xu <herbert@gondor.apana.org.au> Date: Mon, 11 Dec 2017 23:03:24 +1100 > On Tue, Dec 05, 2017 at 02:47:58PM -0500, David Miller wrote: >> >> I'll allow Herbert time to think about this some more as he requested >> in comments against the first version of this series. > > Sorry for the late response. Tom's changes look good to me. > > We should also fix up all existing rhashtable users that dump > through netlink to use the new peek interface. Thanks for reviewing Herbert, series applied. Thanks everyone.