Message ID | 20230329141354.516864-1-dhowells@redhat.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 07E4AC6FD18 for <linux-mm@archiver.kernel.org>; Wed, 29 Mar 2023 14:14:08 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 6F81F6B0072; Wed, 29 Mar 2023 10:14:07 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 6A82F6B0074; Wed, 29 Mar 2023 10:14:07 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 548D16B0075; Wed, 29 Mar 2023 10:14:07 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 3D3526B0072 for <linux-mm@kvack.org>; Wed, 29 Mar 2023 10:14:07 -0400 (EDT) Received: from smtpin05.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 11EEB80D09 for <linux-mm@kvack.org>; Wed, 29 Mar 2023 14:14:07 +0000 (UTC) X-FDA: 80622130134.05.5752562 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by imf22.hostedemail.com (Postfix) with ESMTP id 114CFC002D for <linux-mm@kvack.org>; Wed, 29 Mar 2023 14:14:03 +0000 (UTC) Authentication-Results: imf22.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=Z3BP9paG; spf=pass (imf22.hostedemail.com: domain of dhowells@redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=dhowells@redhat.com; dmarc=pass (policy=none) header.from=redhat.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1680099244; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:in-reply-to: references:dkim-signature; bh=rVcsMZx5Rih0g+FnCEauXqemLTsCdI2qdzMPCzNchcI=; b=TYmkI4nDoYND3XKcBd5EXupKxIaL9h8/SKaVrguzGM0Kna10SszM+v7IuGfhjqzgd6Vqj+ DB668WhqqhUC+fkZ3SXn6/SggN8Rxrz45D5pbgZU9HfUjdQ18PgY0rE7EFxfjQF9AgWvY0 cu7ct3DRXLUgx0kbbErM7zt1d/gWm+g= ARC-Authentication-Results: i=1; imf22.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=Z3BP9paG; spf=pass (imf22.hostedemail.com: domain of dhowells@redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=dhowells@redhat.com; dmarc=pass (policy=none) header.from=redhat.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1680099244; a=rsa-sha256; cv=none; b=W49vH0361Sun718keFE7g/LF6J0ug48ZKShSkLNfkpLUrnS/zuasQ4wFl7Bx8ghgX84+cJ dT1tPXM9oWCRPP8Hg21FnfKgFRKYN+LemJ+HJvrhsGEvbuRj4oRQItGKPaupCYQ2+NR3xF onqTqiBKnr1j4Ct5Tm/rF2+71k85Cgc= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1680099243; 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: content-transfer-encoding:content-transfer-encoding; bh=rVcsMZx5Rih0g+FnCEauXqemLTsCdI2qdzMPCzNchcI=; b=Z3BP9paGZyqg6nbB8lwUEDawA/2KJfFKyHcn7ocr3cGWJLG+AG1CFQTo+YAxFqjdH5y3tO j7SsOVj2ZVysjxS8PKkF4RKEvPr/cxU75OP8fq88tVS3Ok760lrs4QzGnVp/gdsfgSHSWi jfk8rbF7nOfWVDSe1ndTJ5SHSbZXRjU= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-56-V5oDxlVNNTObKzDyQaNeTQ-1; Wed, 29 Mar 2023 10:13:59 -0400 X-MC-Unique: V5oDxlVNNTObKzDyQaNeTQ-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 02C76101A551; Wed, 29 Mar 2023 14:13:59 +0000 (UTC) Received: from warthog.procyon.org.uk (unknown [10.33.36.18]) by smtp.corp.redhat.com (Postfix) with ESMTP id EF6A62027040; Wed, 29 Mar 2023 14:13:56 +0000 (UTC) From: David Howells <dhowells@redhat.com> To: Matthew Wilcox <willy@infradead.org>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com> Cc: David Howells <dhowells@redhat.com>, Al Viro <viro@zeniv.linux.org.uk>, Christoph Hellwig <hch@infradead.org>, Jens Axboe <axboe@kernel.dk>, Jeff Layton <jlayton@kernel.org>, Christian Brauner <brauner@kernel.org>, Chuck Lever III <chuck.lever@oracle.com>, Linus Torvalds <torvalds@linux-foundation.org>, netdev@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: [RFC PATCH v2 00/48] splice, net: Replace sendpage with sendmsg(MSG_SPLICE_PAGES) Date: Wed, 29 Mar 2023 15:13:06 +0100 Message-Id: <20230329141354.516864-1-dhowells@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.1 on 10.11.54.4 X-Rspamd-Server: rspam05 X-Rspamd-Queue-Id: 114CFC002D X-Stat-Signature: axbonh6m17w94so1ic3fx5nyag6nhar8 X-Rspam-User: X-HE-Tag: 1680099243-606402 X-HE-Meta: U2FsdGVkX1+KCfn4ArG/sqtSGvceV3XgAiaFk1r8NEMAPX9QAggEGI7Pb2qbi4qDtHIdMemZd4JWHVTEVvoU8Kn7qOISERP8SHUgupEeIMEsyqvGyf7e5pV+o+wcdUXr0GKvru/blHaLAbzhXZLtRQQnoHC1QNe1wjlazjg1i1mxYLzycqt2i4p9F6/lb6WZ3W7g3KG8O4JMUtJ52gwQc1YEadSFDmUMqCEEfFx6QeJRrvPLO7SKV0CJFOcXJf2H+Tom8Bubm5910VM1vm1pFfqQ6sFFgqdPk9J1oKLWTBOcDaMSSHCH9xsJ9daxLzZrkIVoCkaYLaIf9wVClJTQh6/pHHwKc34CAViFcABIVZp4LGZGJsDe3xnMO1BJ2dcIrfsntN10LAU7tKm0wlPO5YsML2JpPAyfLXPrY6h2pePGO+Ew90t/8LIvKfPJnhsQ1bU7ZGQFBozA7je2CXqJj3Im09cx3ieKyYo4Q6rj5jMn9+C0kpZh6RihAsUaLzvjPvy4M1N+gndJbEUsC1u2oJbx9jxAPgIGr27/91Xn8Taa9LVTTfM3LIw+pNXWltUdZzvXt3Z8xlT1QuDAabUSEDXOChQmk2muq9Y2kFHyqzdkkLC1GaE1r9BO9gbwZV3koqy40vQGtQ6FAAdTinDU8+iaUZMUZNF8SUyKvzl08z+2UIxEWCxApTN1E36typW2rmAptp23MMfUluse/S43FiYTn5o2S729Lz2RkIRIJ+q9pXqpg7H2fsO3fL94xEFPTtuiEJ4xn50+LM7FYFo767SmQHftTjbVNpwPSsg09Q4Y6gVsdm+2viEXnl9GLWH2o7C5TJnJ8w7EzdXOTANTbGIrsIPn6RBIxpuOmPrU4FphKvDK2azzlDa+7PzJiAWfHEsCdP2TKassQW7PMcYBUNKIdSrVzgC9ARBhG2OxIrERhYygj19vrfnVGl1NYksYcmiWzInZoneFWtlPeQn ecGgvkVN IWPVAz8/duv3xoFV7McZodKHXSz6bKVMo5RLaCV/yC3yBHwRnMsmpYVjIq1ff3FToFm5mAu0k7c6IITDz9ppoT2AUkiBmwdyIP8PQPuu0OhuPJGYIbdcZDKptdb0VAvfrWLKyCCsLjPQwJH4bKgEuunFxv0Xpa4HPqhl8QMREE45YzZE2vPgn4jc9qpHOVpsFwBCfEz2EsP2LFJ1K7k/PIhhwR5brsakwpKRx8KchDIcqlXPULtQ6f2tlPnsKIraZiaLLAC2kUCsvm/Q9tqho5Xtw9yVwDMedafyx/XsVCxyZAL3mEW1jDU52LQ== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> |
Series |
splice, net: Replace sendpage with sendmsg(MSG_SPLICE_PAGES)
|
expand
|
Hannes Reinecke <hare@suse.de> 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