diff options
author | 2015-03-18 17:40:51 -0700 | |
---|---|---|
committer | 2015-03-18 22:38:13 -0400 | |
commit | 738e6d30d392fb75933a5eb4b481811598038786 (patch) | |
tree | 768a37f5be81bf3dd1f9453460bb740df122320f /lib/rhashtable.c | |
parent | rocker: add support for phys_port_name (diff) | |
download | linux-rng-738e6d30d392fb75933a5eb4b481811598038786.tar.xz linux-rng-738e6d30d392fb75933a5eb4b481811598038786.zip |
inet: add a schedule point in inet_twsk_purge()
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@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/rhashtable.c')
0 files changed, 0 insertions, 0 deletions