diff options
| author | Eric Dumazet <[email protected]> | 2017-12-12 22:22:39 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2017-12-12 23:27:22 +0000 |
| commit | 9147efcbe0b7cc96b18eb64b1a3f0d4bba81443c (patch) | |
| tree | e96ef5a6e898fd45ca4d48f467f71fa505ff807e /net/core/dev.c | |
| parent | Merge branch 'bpf-misc-fixes' (diff) | |
| download | kernel-9147efcbe0b7cc96b18eb64b1a3f0d4bba81443c.tar.gz kernel-9147efcbe0b7cc96b18eb64b1a3f0d4bba81443c.zip | |
bpf: add schedule points to map alloc/free
While using large percpu maps, htab_map_alloc() can hold
cpu for hundreds of ms.
This patch adds cond_resched() calls to percpu alloc/free
call sites, all running in process context.
Signed-off-by: Eric Dumazet <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions
