summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/atheros
diff options
context:
space:
mode:
authorHerbert Xu2015-12-04 15:39:56 +0100
committerDavid S. Miller2015-12-04 22:53:05 +0100
commitd3716f18a7d841565c930efde30737a3557eee69 (patch)
tree5f0599a1e442a490a1d87e610110f9245825bc2d /drivers/net/ethernet/atheros
parentgre6: allow to update all parameters via rtnl (diff)
downloadkernel-qcow2-linux-d3716f18a7d841565c930efde30737a3557eee69.tar.gz
kernel-qcow2-linux-d3716f18a7d841565c930efde30737a3557eee69.tar.xz
kernel-qcow2-linux-d3716f18a7d841565c930efde30737a3557eee69.zip
rhashtable: Use __vmalloc with GFP_ATOMIC for table allocation
When an rhashtable user pounds rhashtable hard with back-to-back insertions we may end up growing the table in GFP_ATOMIC context. Unfortunately when the table reaches a certain size this often fails because we don't have enough physically contiguous pages to hold the new table. Eric Dumazet suggested (and in fact wrote this patch) using __vmalloc instead which can be used in GFP_ATOMIC context. Reported-by: Phil Sutter <phil@nwl.cc> Suggested-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/atheros')
0 files changed, 0 insertions, 0 deletions