Searched hist:"7450 aaf61f0ae2ee6cc6491138d11df2c25e7609" (Results 1 – 3 of 3) sorted by relevance
/linux/net/ipv6/ |
H A D | tcp_ipv6.c | diff 7450aaf61f0ae2ee6cc6491138d11df2c25e7609 Mon Nov 30 17:57:28 CET 2015 Eric Dumazet <edumazet@google.com> tcp: suppress too verbose messages in tcp_send_ack()
If tcp_send_ack() can not allocate skb, we properly handle this and setup a timer to try later.
Use __GFP_NOWARN to avoid polluting syslog in the case host is under memory pressure, so that pertinent messages are not lost under a flood of useless information.
sk_gfp_atomic() can use its gfp_mask argument (all callers currently were using GFP_ATOMIC before this patch)
We rename sk_gfp_atomic() to sk_gfp_mask() to clearly express this function now takes into account its second argument (gfp_mask)
Note that when tcp_transmit_skb() is called with clone_it set to false, we do not attempt memory allocations, so can pass a 0 gfp_mask, which most compilers can emit faster than a non zero or constant value.
Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/linux/net/ipv4/ |
H A D | tcp_output.c | diff 7450aaf61f0ae2ee6cc6491138d11df2c25e7609 Mon Nov 30 17:57:28 CET 2015 Eric Dumazet <edumazet@google.com> tcp: suppress too verbose messages in tcp_send_ack()
If tcp_send_ack() can not allocate skb, we properly handle this and setup a timer to try later.
Use __GFP_NOWARN to avoid polluting syslog in the case host is under memory pressure, so that pertinent messages are not lost under a flood of useless information.
sk_gfp_atomic() can use its gfp_mask argument (all callers currently were using GFP_ATOMIC before this patch)
We rename sk_gfp_atomic() to sk_gfp_mask() to clearly express this function now takes into account its second argument (gfp_mask)
Note that when tcp_transmit_skb() is called with clone_it set to false, we do not attempt memory allocations, so can pass a 0 gfp_mask, which most compilers can emit faster than a non zero or constant value.
Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/linux/include/net/ |
H A D | sock.h | diff 7450aaf61f0ae2ee6cc6491138d11df2c25e7609 Mon Nov 30 17:57:28 CET 2015 Eric Dumazet <edumazet@google.com> tcp: suppress too verbose messages in tcp_send_ack()
If tcp_send_ack() can not allocate skb, we properly handle this and setup a timer to try later.
Use __GFP_NOWARN to avoid polluting syslog in the case host is under memory pressure, so that pertinent messages are not lost under a flood of useless information.
sk_gfp_atomic() can use its gfp_mask argument (all callers currently were using GFP_ATOMIC before this patch)
We rename sk_gfp_atomic() to sk_gfp_mask() to clearly express this function now takes into account its second argument (gfp_mask)
Note that when tcp_transmit_skb() is called with clone_it set to false, we do not attempt memory allocations, so can pass a 0 gfp_mask, which most compilers can emit faster than a non zero or constant value.
Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|