On Fri, Mar 30, 2018 at 05:53:04PM -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 <[email protected]>
Acked-by: Herbert Xu <[email protected]> Thanks, -- Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
