aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2018-11-18 07:37:33 -0800
committerDavid S. Miller <[email protected]>2018-11-18 19:01:11 -0800
commitaa6daacaa113cda96760c8d3157bae937908f6e3 (patch)
treed685971689336d09beeedd37662ca44f0f038a86 /tools/perf/scripts/python/syscall-counts-by-pid.py
parent05b0e1d6980f9d76a6e5c6184854141bc26c2b13 (diff)
tun: use netdev_alloc_frag() in tun_napi_alloc_frags()
In order to cook skbs in the same way than Ethernet drivers, it is probably better to not use GFP_KERNEL, but rather use the GFP_ATOMIC and PFMEMALLOC mechanisms provided by netdev_alloc_frag(). This would allow to use tun driver even in memory stress situations, especially if swap is used over this tun channel. Fixes: 90e33d459407 ("tun: enable napi_gro_frags() for TUN/TAP driver") Signed-off-by: Eric Dumazet <[email protected]> Cc: Petar Penkov <[email protected]> Cc: Mahesh Bandewar <[email protected]> Cc: Willem de Bruijn <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions