Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759488AbZANBYm (ORCPT ); Tue, 13 Jan 2009 20:24:42 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755285AbZANBYa (ORCPT ); Tue, 13 Jan 2009 20:24:30 -0500 Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:41251 "EHLO sunset.davemloft.net" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1754733AbZANBY3 (ORCPT ); Tue, 13 Jan 2009 20:24:29 -0500 Date: Tue, 13 Jan 2009 17:24:30 -0800 (PST) Message-Id: <20090113.172430.177897618.davem@davemloft.net> To: herbert@gondor.apana.org.au Cc: zbr@ioremap.net, dada1@cosmosbay.com, w@1wt.eu, ben@zeus.com, jarkao2@gmail.com, mingo@elte.hu, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, jens.axboe@oracle.com Subject: Re: [PATCH] tcp: splice as many packets as possible at once From: David Miller In-Reply-To: <20090114005110.GA6814@gondor.apana.org.au> References: <20090113.161625.111759506.davem@davemloft.net> <20090114005110.GA6814@gondor.apana.org.au> X-Mailer: Mew version 6.1 on Emacs 22.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 697 Lines: 18 From: Herbert Xu Date: Wed, 14 Jan 2009 11:51:10 +1100 > We can probably do that for spliced data that end up going to > the networking stack again. However, as splice is generic the > data may be headed to a destination other than the network stack. > > In that case to make dataref work we'd need some mechanism > that allows non-network entities to get/drop this ref count. I see. I'll think about this some more. -- 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/