Searched hist:acffb584cda7069b0c2c83045503ccd07516a891 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/net/ipv4/ |
H A D | inet_diag.c | diff acffb584cda7069b0c2c83045503ccd07516a891 Mon Mar 14 17:40:00 CDT 2016 Eric Dumazet <edumazet@google.com> net: diag: add a scheduling point in inet_diag_dump_icsk()
On loaded TCP servers, looking at millions of sockets can hold cpu for many seconds, if the lookup condition is very narrow.
(eg : ss dst 1.2.3.4 )
Better add a cond_resched() to allow other processes to access the cpu.
Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|