[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100723.124819.246519789.davem@davemloft.net>
Date: Fri, 23 Jul 2010 12:48:19 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: sphink@...il.com
Cc: netdev@...r.kernel.org, stephen.hemminger@...tta.com
Subject: Re: ss -p is much too slow
From: David Miller <davem@...emloft.net>
Date: Mon, 28 Jun 2010 16:21:39 -0700 (PDT)
> ss: Avoid quadradic complexity with '-p'
>
> Scan the process list of open sockets once, and store in a hash
> table to be used by subsequent find_user() calls.
>
> Reported-by: Steve Fink <sphink@...il.com>
> Signed-off-by: David S. Miller <davem@...emloft.net>
Stephen, please apply this, it fixes the quadratic behavior and
has been sitting for a month.
It's in patchwork, just check your todo list.
Thanks.
--
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