Re: [PATCH net-next] net: sched: use kvmalloc() for class hash tables

2017-08-22 Thread David Miller
From: Eric Dumazet Date: Tue, 22 Aug 2017 12:26:46 -0700 > From: Eric Dumazet > > High order GFP_KERNEL allocations can stress the host badly. > > Use modern kvmalloc_array()/kvfree() instead of custom > allocations. > > Signed-off-by: Eric Dumazet Applied, thanks Eric.

Re: [PATCH net-next] net: sched: use kvmalloc() for class hash tables

2017-08-22 Thread Alexei Starovoitov
On Tue, Aug 22, 2017 at 12:26:46PM -0700, Eric Dumazet wrote: > From: Eric Dumazet > > High order GFP_KERNEL allocations can stress the host badly. > > Use modern kvmalloc_array()/kvfree() instead of custom > allocations. > > Signed-off-by: Eric Dumazet Thanks for fixing these issues. Acked-b

[PATCH net-next] net: sched: use kvmalloc() for class hash tables

2017-08-22 Thread Eric Dumazet
From: Eric Dumazet High order GFP_KERNEL allocations can stress the host badly. Use modern kvmalloc_array()/kvfree() instead of custom allocations. Signed-off-by: Eric Dumazet --- net/sched/sch_api.c | 22 -- 1 file changed, 4 insertions(+), 18 deletions(-) diff --git a