Eric Dumazet accd4f36a7 percpu: add a schedule point in pcpu_balance_workfn()
When a large BPF percpu map is destroyed, I have seen
pcpu_balance_workfn() holding cpu for hundreds of milliseconds.

On KASAN config and 112 hyperthreads, average time to destroy a chunk
is ~4 ms.

[ 2489.841376] destroy chunk 1 in 4148689 ns
...
[ 2490.093428] destroy chunk 32 in 4072718 ns

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
2018-02-23 08:52:34 -08:00
..
2017-06-05 16:59:12 +02:00
2017-02-27 18:43:47 -08:00
2018-02-06 10:41:33 -08:00
2018-02-06 10:41:33 -08:00
2017-11-15 18:21:05 -08:00
2018-02-06 18:32:48 -08:00
2018-02-06 10:41:33 -08:00
2018-02-06 18:32:48 -08:00
2017-12-14 16:00:49 -08:00
2018-02-06 18:32:48 -08:00
2018-02-06 10:41:33 -08:00
2017-11-15 18:21:01 -08:00
2018-02-06 10:41:33 -08:00
2018-02-06 18:32:48 -08:00
2018-01-31 17:18:37 -08:00
2018-01-07 13:06:15 -05:00
2018-02-06 18:32:48 -08:00
2018-02-06 18:32:48 -08:00