Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp1661194ioo; Sun, 22 May 2022 23:26:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzc0kyOJVdcDm91em56f8NLuq6EchszFQyxGJSmg0W2f6Qn/dJzFX8zp6I35xTpquM4XWoB X-Received: by 2002:a17:903:2143:b0:162:15c2:e4c6 with SMTP id s3-20020a170903214300b0016215c2e4c6mr6896520ple.100.1653287189770; Sun, 22 May 2022 23:26:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653287189; cv=none; d=google.com; s=arc-20160816; b=Np7fotcUx19Ua2L6Z2NOnN0rjvW74vlqRw3n4fhOo3QR2ZifT1Qw/VCuotqiTm89Em /tCp7oH3M8ZhjUwSJYIHNvh8up/OBu4ftIKlqcDyP7XFKluKx2SIhaCYf2GP+zlxVzwH xl6TlIrLLUh+pwn9KWte4zQFiBpgJBij2JFhNduiF1roNAY2W8xLKFfWVOz+zFiA+Zdm ToXtsvXR2qq+ctUp/VVmBK03oOSNN4c6t+UYNHpZNOHd4vmlwWwDXfqUOrS6DrBG8azv 1b/2BHe2IJOkesbtSz1REwONN5EDMrR0V4sQshQHyJhaLcFRYvDfL7gEpfxTZcL58w4Q tC5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=9VtMRsdPfyvbU5olGyw26zck2MdnJ++h9nOButSQcsk=; b=j+P0MxV6fLOqw7mnQm5Vw725HRk1ScGVhFfMz6rlSvaA6ECaNea5v9lrCJiwjCgRtG D58xJah4dQA9rY5L7HgnomUUEP2JhlM3abogbeLfsgJDXr6bO0rIUFBo/A2ZnYrgQKu0 N1QlhL8jVNAF1HILw2iICwPiB5a5ASOr1UyEvlMILr5MbwD3I0jSMBJDMp0H2EVQJ/nM rQ1PF7uQ4Ty6GdFREuioSYj5JNn+QmVE5338nwktCdR+2nMaHlT6hS6WaXBo8jtg1gBo v6ktI2LF/4IjBKWb6zais2i18wR55a/GV1hTTzqsqz2BHwd6jz4oOsumr2FGpBkVfJig psdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@zx2c4.com header.s=20210105 header.b=fl734sbl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zx2c4.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id s17-20020a63f051000000b003f5d5bbf0b1si9759711pgj.245.2022.05.22.23.26.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 May 2022 23:26:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@zx2c4.com header.s=20210105 header.b=fl734sbl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zx2c4.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 17BA15F8F; Sun, 22 May 2022 23:06:02 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351035AbiETPqb (ORCPT + 99 others); Fri, 20 May 2022 11:46:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43528 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351246AbiETPqQ (ORCPT ); Fri, 20 May 2022 11:46:16 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 51DDB1839B for ; Fri, 20 May 2022 08:46:10 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id AB516B82B7A for ; Fri, 20 May 2022 15:46:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B61A5C385A9; Fri, 20 May 2022 15:46:07 +0000 (UTC) Authentication-Results: smtp.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b="fl734sbl" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zx2c4.com; s=20210105; t=1653061566; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=9VtMRsdPfyvbU5olGyw26zck2MdnJ++h9nOButSQcsk=; b=fl734sblmkgGs5PhGRjogR8pJ94wIwLpHt8n72WVFaVI6xOM68LoSgHS45tuhzBgCu80ab pr3smUcl96rCt01A34GLgzLZng9BUDh6yyiTa5ObtY0aEdz7sgPbAhB6Lb/tOeYx7AxDTi iofbx40Wvk7KnKLJJxecsDdYGSIbE3w= Received: by mail.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id 8aae780f (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Fri, 20 May 2022 15:46:06 +0000 (UTC) Date: Fri, 20 May 2022 17:46:04 +0200 From: "Jason A. Donenfeld" To: Jens Axboe Cc: Theodore Ts'o , Christoph Hellwig , LKML , Al Viro Subject: Re: [PATCH v4 0/3] random: convert to using iters, for Al Viro Message-ID: References: <20220520094459.116240-1-Jason@zx2c4.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jens, On Fri, May 20, 2022 at 09:34:46AM -0600, Jens Axboe wrote: > On 5/20/22 9:25 AM, Jason A. Donenfeld wrote: > > Are we sure we really want to do this and need to do this? > > I'm very sure, otherwise we're just accepting that we're breaking real > world applications. Would we really? I always thought splice() and copy_file_range() and sendfile() were all kind of "special" in that they mostly do not work for many things, and so all userspaces need fallback code. And the state of "mostly not working" has always just been the norm. So broken today, working tomorrow, broken next week would be par for the course? I might be *super* wrong here, so feel free to say so, but this has been my general impression. Anyway, I do like the idea of supporting splice() and sendfile(). The performance hit is just kind of sad. Jason