[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20090828.235211.59890287.davem@davemloft.net>
Date: Fri, 28 Aug 2009 23:52:11 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next-2.6] net: ip_rt_send_redirect() optimization
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Mon, 24 Aug 2009 18:47:48 +0200
> While doing some forwarding benchmarks, I noticed ip_rt_send_redirect() is rather
> expensive, even if send_redirects is false for the device.
>
> Fix is to avoid two atomic ops, we dont really need to take a reference on in_dev
>
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.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