Files
erofs-linux/lib
Eric Dumazet 5beb5c90c1 rhashtable: use cond_resched()
If a hash table has 128 slots and 16384 elems, expand to 256 slots
takes more than one second. For larger sets, a soft lockup is detected.

Holding cpu for that long, even in a work queue is a show stopper
for non preemptable kernels.

cond_resched() at strategic points to allow process scheduler
to reschedule us.

Signed-off-by: Eric Dumazet <[email protected]>
Acked-by: Daniel Borkmann <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
2015-02-27 17:55:14 -05:00
..
2014-10-09 11:35:48 +03:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2014-08-06 18:01:25 -07:00
2015-02-12 18:54:15 -08:00
2015-02-12 18:54:15 -08:00
…
…
…
2015-02-17 14:34:53 -08:00
2014-08-08 15:57:25 -07:00
…
…
…
2015-02-12 18:54:16 -08:00
2015-02-12 18:54:15 -08:00
2015-02-13 21:21:41 -08:00
2015-02-12 18:54:15 -08:00
…
2015-02-12 18:54:16 -08:00
2015-02-27 17:55:14 -05:00
…
2015-02-12 18:54:16 -08:00
…
…
2015-02-13 21:21:41 -08:00
…
…
…
…