Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752024AbaKUTkw (ORCPT ); Fri, 21 Nov 2014 14:40:52 -0500 Received: from mail-qa0-f49.google.com ([209.85.216.49]:59467 "EHLO mail-qa0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751045AbaKUTku (ORCPT ); Fri, 21 Nov 2014 14:40:50 -0500 MIME-Version: 1.0 In-Reply-To: <20141121193911.GU7996@ZenIV.linux.org.uk> References: <20141119.161744.1661940121298888832.davem@davemloft.net> <20141119213006.GE7996@ZenIV.linux.org.uk> <20141119.165340.2162829993279387495.davem@davemloft.net> <20141120214753.GR7996@ZenIV.linux.org.uk> <1416520542.8629.46.camel@edumazet-glaptop2.roam.corp.google.com> <20141120222506.GS7996@ZenIV.linux.org.uk> <1416524035.8629.54.camel@edumazet-glaptop2.roam.corp.google.com> <20141121084956.GT7996@ZenIV.linux.org.uk> <063D6719AE5E284EB5DD2968C1650D6D1C9F6930@AcuExch.aculab.com> <20141121193911.GU7996@ZenIV.linux.org.uk> Date: Fri, 21 Nov 2014 11:40:49 -0800 X-Google-Sender-Auth: q2h4AAU5H9ZiA4ajcxspMD-VEfI Message-ID: Subject: Re: [RFC] situation with csum_and_copy_... API From: Linus Torvalds To: Al Viro Cc: David Laight , Eric Dumazet , David Miller , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "target-devel@vger.kernel.org" , "Nicholas A. Bellinger" , Christoph Hellwig Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 21, 2014 at 11:39 AM, Al Viro wrote: > > I'm not at all sure that _anything_ has valid reasons for draining iovecs. > Maintaining a struct iov_iter and modifying it is easy and actually faster... For new code, I agree. But the whole "draining iovec's" is a fairly common old model. 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/