diff options
author | Eric Dumazet <edumazet@google.com> | 2017-12-13 01:22:39 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2017-12-13 02:27:22 +0300 |
commit | 9147efcbe0b7cc96b18eb64b1a3f0d4bba81443c (patch) | |
tree | e96ef5a6e898fd45ca4d48f467f71fa505ff807e /arch | |
parent | 9dbd2d948e7345595e5b90e44795c1e8ca3e5728 (diff) | |
download | linux-9147efcbe0b7cc96b18eb64b1a3f0d4bba81443c.tar.xz |
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 <edumazet@google.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions