Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964889AbWLTFMl (ORCPT ); Wed, 20 Dec 2006 00:12:41 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S964891AbWLTFMl (ORCPT ); Wed, 20 Dec 2006 00:12:41 -0500 Received: from smtp.osdl.org ([65.172.181.25]:35579 "EHLO smtp.osdl.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964889AbWLTFMk (ORCPT ); Wed, 20 Dec 2006 00:12:40 -0500 Date: Tue, 19 Dec 2006 21:11:24 -0800 From: Stephen Hemminger To: David Miller Cc: herbert@gondor.apana.org.au, mingo@elte.hu, akpm@osdl.org, wenji@fnal.gov, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: Bug 7596 - Potential performance bottleneck for Linxu TCP Message-ID: <20061219211124.061b5c2d@localhost.localdomain> In-Reply-To: <20061219.185525.41636407.davem@davemloft.net> References: <20061219103756.38f7426c@freekitty> <20061219.185525.41636407.davem@davemloft.net> Organization: OSDL X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.10.4; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1261 Lines: 30 On Tue, 19 Dec 2006 18:55:25 -0800 (PST) David Miller wrote: > From: Herbert Xu > Date: Wed, 20 Dec 2006 10:52:19 +1100 > > > Stephen Hemminger wrote: > > > I noticed this bit of discussion in tcp_recvmsg. It implies that a better > > > queuing policy would be good. But it is confusing English (Alexey?) so > > > not sure where to start. > > > > Actually I think the comment says that the current code isn't the > > most elegant but is more efficient. > > It's just explaining the hierarchy of queues that need to > be purged, and in what order, for correctness. > > Alexey added that code when I mentioned to him, right after > we added the prequeue, that it was possible process the > normal backlog before the prequeue, which is illegal. > In fixing that bug, he added the comment we are discussing. It was the realtime/normal comments that piqued my interest. Perhaps we should either tweak process priority or remove the comments. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/