netdev
[Top] [All Lists]

Re: [PATCH] 2.6 UDP recvmsg vs POSIX

To: Olaf Kirch <okir@xxxxxxx>
Subject: Re: [PATCH] 2.6 UDP recvmsg vs POSIX
From: Andi Kleen <ak@xxxxxxx>
Date: Wed, 18 Feb 2004 05:30:42 +0100
Cc: netdev@xxxxxxxxxxx
In-reply-to: <20040217121726.GD8554@xxxxxxx>
References: <20040217121726.GD8554@xxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
On Tue, 17 Feb 2004 13:17:26 +0100
Olaf Kirch <okir@xxxxxxx> wrote:

> Any comments welcome.

Looks good to me.

One small optimization would be to quickly check the receive queue without 
taking the
receive queue lock. This would avoid the additional lock in many cases.

-Andi

<Prev in Thread] Current Thread [Next in Thread>