[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160314.193837.2161977859793491820.davem@davemloft.net>
Date: Mon, 14 Mar 2016 19:38:37 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net] net: diag: add a scheduling point in
inet_diag_dump_icsk()
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Mon, 14 Mar 2016 15:40:00 -0700
> From: Eric Dumazet <edumazet@...gle.com>
>
> 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@...gle.com>
Applied, thanks Eric.
Powered by blists - more mailing lists