Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp728856rwl; Wed, 29 Mar 2023 07:45:17 -0700 (PDT) X-Google-Smtp-Source: AKy350YT2smArtH2D8jFJ5BGa4GtV5EuQgLmFlQ6+NGLWdfUGz7sc2X0LStqFZFcDbHPiGh0Mh6B X-Received: by 2002:aa7:991e:0:b0:625:d9ec:51c8 with SMTP id z30-20020aa7991e000000b00625d9ec51c8mr18371848pff.22.1680101117559; Wed, 29 Mar 2023 07:45:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680101117; cv=none; d=google.com; s=arc-20160816; b=Cxhzzn7acipxmPj5Cc1eAan5eXK3Fm7rMqinVnQAF59LexXZ26mou3jBGu1me5shfd W9qa2DRql/SDEfLtIO2M/mc+eH3uyi35njbnKTYpMeNKIKHEUgI+8NKkv+ggCvqIBlK/ 2eBYrThsZdZecC9DaybztDxf/pTeRVZtV1g2V0oN6KQLO3XdSAmraZ1m2xtF4ctyHuLx 6QltHAcvf6a+pkcESeyDxZaHcbOFIpDxPGhhjAFXQUgHWDTpO492ltMJXehFLNfQWXyq 7zZ4EBagx76pMltGUtbpWFbHra7lPVHCU1miIn4s7qX/ELrWxt+CECG5+AQsJTAtv0/2 2ObA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:content-id:mime-version:subject :cc:to:references:in-reply-to:from:organization:dkim-signature; bh=eOGvCBK3xTc7UhN8iQW8f99rBt5fCj0lar0/GGKSAUo=; b=NNoPq/ZaR2WYN4bCrkzk3uT5ngsyG1/iC5qh4gITzKUllIL6+yx+04JfcWL1eMMlyH drW44fdoe03kaFEA2HmnrZlVD728sqpDSPYITgawDiKcw3XJYoMFwt7GYML7MfPVIZb5 /xR/nl5A/pmPSAIzDwvpNdSvczVKHlxUqY3TWI0o7cAaElR7hXNf3wT4A7fE15LhhB1c Iw8QvTlINDQ6IiTx+qUwOgshp8V8DiXYZkjIYXkEm9II+tAsWDQ7CtttJLYSplPaxFPf Z2dTax9/16e6un7OIM66bh+XtUTgvmEwpBUWJDzinFQt7BwCV2dSmVAq19MKzy9EYWLY daKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=H1gL32Xd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h11-20020a65480b000000b0050bcc13077asi30128904pgs.29.2023.03.29.07.45.05; Wed, 29 Mar 2023 07:45:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=H1gL32Xd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230173AbjC2Ong (ORCPT + 99 others); Wed, 29 Mar 2023 10:43:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40996 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230219AbjC2OnO (ORCPT ); Wed, 29 Mar 2023 10:43:14 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B007272A0 for ; Wed, 29 Mar 2023 07:39:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1680100783; 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=eOGvCBK3xTc7UhN8iQW8f99rBt5fCj0lar0/GGKSAUo=; b=H1gL32Xd8l9r+stE1zqaSSIkEvool+TK9K3ywF5RPyJqZ4sgmRtPTgRVYnmlMTGYU/8nou 8Olg5i+vH8R7M1uuLjxAiD5odE14uqNlBNiK7W8L7rnAQzOAyH6DFlZh0/s476DBoVL3yC XRVleiX1YtKOUEaKP7JcDg7WRS3eQ6M= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-586-OX_M3mnhOyOLIjTwhOpgsw-1; Wed, 29 Mar 2023 10:39:40 -0400 X-MC-Unique: OX_M3mnhOyOLIjTwhOpgsw-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 52F783C10ED2; Wed, 29 Mar 2023 14:39:38 +0000 (UTC) Received: from warthog.procyon.org.uk (unknown [10.33.36.18]) by smtp.corp.redhat.com (Postfix) with ESMTP id 900FA2166B33; Wed, 29 Mar 2023 14:39:34 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: References: <20230329141354.516864-1-dhowells@redhat.com> <20230329141354.516864-49-dhowells@redhat.com> To: Hannes Reinecke cc: David Howells , Matthew Wilcox , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , linux-doc@vger.kernel.org, virtualization@lists.linux-foundation.org, linux-mm@kvack.org, linux-sctp@vger.kernel.org, linux-afs@lists.infradead.org, rds-devel@oss.oracle.com, linux-x25@vger.kernel.org, dccp@vger.kernel.org, linux-rdma@vger.kernel.org, Christoph Hellwig , linux-wpan@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-can@vger.kernel.org, Marc Kleine-Budde , Al Viro , linux-hams@vger.kernel.org, mptcp@lists.linux.dev, Jens Axboe , Christian Brauner , netdev@vger.kernel.org, Jeff Layton , linux-kernel@vger.kernel.org, Chuck Lever III , tipc-discussion@lists.sourceforge.net, linux-crypto@vger.kernel.org, linux-fsdevel@vger.kernel.org, bpf@vger.kernel.org, Linus Torvalds Subject: Re: [RFC PATCH v2 48/48] sock: Remove ->sendpage*() in favour of sendmsg(MSG_SPLICE_PAGES) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <518630.1680100773.1@warthog.procyon.org.uk> Date: Wed, 29 Mar 2023 15:39:33 +0100 Message-ID: <518631.1680100773@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 3.1 on 10.11.54.6 X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE autolearn=unavailable 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 Hannes Reinecke wrote: > > [!] Note: This is a work in progress. At the moment, some things won't > > build if this patch is applied. nvme, kcm, smc, tls. Actually, that needs updating. nvme and smc now build. > Weelll ... what happens to consumers of kernel_sendpage()? > (Let's call them nvme ...) > Should they be moved over, too? Patch 42 should address NVMe, I think. I can't test it, though, as I don't have hardware. There should be no callers of kernel_sendmsg() by the end of this patchset, and the only remaining implementors of sendpage are Chelsio-TLS, AF_TLS and AF_KCM, which as stated in the cover, aren't yet converted and won't build. > Or what is the general consensus here? > > (And what do we do with TLS? It does have a ->sendpage() version, too ...) I know. There are three things left that I need to tackle, but I'd like to get opinions on some of the other bits and I might need some help with AF_TLS and AF_KCM. That said, should I just remove tls_sw_do_sendpage() since presumably the data is going to get copied(?) and encrypted and the source pages aren't going to be held onto? David