[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20081125.135530.251944444.davem@davemloft.net>
Date: Tue, 25 Nov 2008 13:55:30 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: dada1@...mosbay.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] net: udp_unhash() can test if sk is hashed
From: Eric Dumazet <dada1@...mosbay.com>
Date: Tue, 25 Nov 2008 21:25:55 +0100
> Impact: Optimization
>
> Like done in inet_unhash(), we can avoid taking a chain lock if
> socket is not hashed in udp_unhash()
>
> Triggered by close(socket(AF_INET, SOCK_DGRAM, 0));
>
> Signed-off-by: Eric Dumazet <dada1@...mosbay.com>
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