On Fri, Mar 30, 2018 at 01:42:31PM -0700, Eric Dumazet wrote: > Rehashing and destroying large hash table takes a lot of time, > and happens in process context. It is safe to add cond_resched() > in rhashtable_rehash_table() and rhashtable_free_and_destroy() > > Signed-off-by: Eric Dumazet <eduma...@google.com>
Acked-by: Herbert Xu <herb...@gondor.apana.org.au> Thanks, -- Email: Herbert Xu <herb...@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt