04 Nov, 2013

1 commit

  • 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
    Reported-by: Joby Poriyath
    Cc: Ben Hutchings
    Signed-off-by: David S. Miller

    Eric Dumazet
     

06 Apr, 2012

3 commits


18 Aug, 2011

1 commit