Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756315AbXE3TRb (ORCPT ); Wed, 30 May 2007 15:17:31 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753731AbXE3TRU (ORCPT ); Wed, 30 May 2007 15:17:20 -0400 Received: from smtp1.linux-foundation.org ([207.189.120.13]:44155 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753529AbXE3TRT (ORCPT ); Wed, 30 May 2007 15:17:19 -0400 Date: Wed, 30 May 2007 12:15:35 -0700 (PDT) From: Linus Torvalds To: Mark Lord cc: Ingo Molnar , Jeff Garzik , Zach Brown , linux-kernel@vger.kernel.org, Arjan van de Ven , Christoph Hellwig , Andrew Morton , Alan Cox , Ulrich Drepper , Evgeniy Polyakov , "David S. Miller" , Suparna Bhattacharya , Davide Libenzi , Jens Axboe , Thomas Gleixner Subject: Re: Syslets, Threadlets, generic AIO support, v6 In-Reply-To: <465DCAE4.1010206@rtr.ca> Message-ID: References: <20070529212718.GH7875@mami.zabbo.net> <465CA654.5000505@garzik.org> <20070530072055.GA3077@elte.hu> <465D43A0.8040307@garzik.org> <20070530160913.GA14261@elte.hu> <465DCAE4.1010206@rtr.ca> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 795 Lines: 22 On Wed, 30 May 2007, Mark Lord wrote: > > I wonder how useful it would be to reimplement sendfile() > using splice(), either in glibc or inside the kernel itself? I'd like that, if only because right now we have two separate paths that kind of do the same thing, and splice really is the only one that is generic. I thought Jens even had some experimental patches for it. It might be worth to "just do it" - there's some internal overhead, but on the other hand, it's also likely the best way to make sure any issues get sorted out. Linus - 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/