[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150318.223909.1377505203437717082.davem@davemloft.net>
Date: Wed, 18 Mar 2015 22:39:09 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next] inet: add a schedule point in
inet_twsk_purge()
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Wed, 18 Mar 2015 17:40:51 -0700
> From: Eric Dumazet <edumazet@...gle.com>
>
> On a large hash table, we can easily spend seconds to
> walk over all entries. Add a cond_resched() to yield
> cpu if necessary.
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Yeah this has always been a sore spot, at least it runs in
process context these days.
Applied, thanks Eric.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists