linux/Documentation
Eric Dumazet 74d332c13b net: extend net_device allocation to vmalloc()
Joby Poriyath provided a xen-netback patch to reduce the size of
xenvif structure as some netdev allocation could fail under
memory pressure/fragmentation.

This patch is handling the problem at the core level, allowing
any netdev structures to use vmalloc() if kmalloc() failed.

As vmalloc() adds overhead on a critical network path, add __GFP_REPEAT
to kzalloc() flags to do this fallback only when really needed.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reported-by: Joby Poriyath <joby.poriyath@citrix.com>
Cc: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-11-03 23:19:00 -05:00
..
2013-09-05 20:46:06 -04:00
2013-04-02 09:39:55 -07:00
2013-07-24 22:06:34 -07:00
2013-01-10 01:27:46 +01:00
2013-07-25 12:34:15 +02:00
2013-09-15 17:41:30 -04:00
2013-06-03 14:31:39 -07:00
2013-07-03 16:08:03 -07:00
2012-07-29 21:11:05 -03:00
2013-04-16 18:47:19 +09:00
2012-12-05 23:52:10 +00:00
2013-02-19 08:42:37 +01:00
2013-06-21 11:32:51 +02:00
2013-09-05 16:36:21 -06:00