commit | 9695fe6f21e3b06a7086f62851c0df16369fc223 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Tue Aug 22 12:26:46 2017 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue Aug 22 14:37:24 2017 -0700 |
tree | 489d51590e941faf23664efac7d9480bace8663e | |
parent | 153890b41b0ad467a89a77d48bb96f6bc3b14120 [diff] |
net: sched: use kvmalloc() for class hash tables High order GFP_KERNEL allocations can stress the host badly. Use modern kvmalloc_array()/kvfree() instead of custom allocations. Signed-off-by: Eric Dumazet <edumazet@google.com> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>