[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20101116.113519.245394130.davem@davemloft.net>
Date: Tue, 16 Nov 2010 11:35:19 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next-2.6] udp: use atomic_inc_not_zero_hint
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Tue, 16 Nov 2010 06:58:26 +0100
> UDP sockets refcount is usually 2, unless an incoming frame is going to
> be queued in receive or backlog queue.
>
> Using atomic_inc_not_zero_hint() permits to reduce latency, because
> processor issues less memory transactions.
>
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
Applied.
--
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