[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Tue, 12 Dec 2017 15:33:13 -0800
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>,
netdev <netdev@...r.kernel.org>
Subject: Re: [PATCH net] bpf: add schedule points to map alloc/free
On Tue, Dec 12, 2017 at 02:22:39PM -0800, Eric Dumazet wrote:
> From: Eric Dumazet <edumazet@...gle.com>
>
> 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@...gle.com>
Applied, thanks Eric!
Powered by blists - more mailing lists