Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp426748rwd; Wed, 7 Jun 2023 01:44:12 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ64cbWhcUWCL1GQCPwNKct3HEB0LlJTOTD2w67uU0UXCOK47XLrPlnY3hafezXuwl40IRfM X-Received: by 2002:a05:6a20:a108:b0:116:f512:a219 with SMTP id q8-20020a056a20a10800b00116f512a219mr1555755pzk.3.1686127452373; Wed, 07 Jun 2023 01:44:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686127452; cv=none; d=google.com; s=arc-20160816; b=xJ6Z+4NGnOxOvlkT++J26EmShucyaPsGUEv6Z0Yswr1bifRsAwIiLVhRf4J+UFvjSn XW+EaslaHTMNwVc0OA+VOVmAVkOswYjG/KVmTIC04EK2xkLdTUu7zEMTXFZlkfCNbZFY LBlkTrcRt5bT4sL5a+iQ8acpYvwu2qx0/SJSeDyNVsmlBxfAMWEj9dUO1HXNZocyuBZe SMMvEi6PJz7yO0iLhAWBQd2u8gDqWh/Z0GZrbEplINp3X7CG7LLDjMmBeG1X9A8ds/lg FDhR7PKho40UyVZ/fy75j02DWD5EWcVOEwMczL+MOW1oaijnlEMJq0ApPPHZY/B9IqBY 8vbg== 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; bh=YDsK6GBuKUz/tmVqx7RkCX4O6+LJ0s8VmMtPnTES2Gs=; b=EgXW66h/GhPCgIuIprIoRtxbUIQu2Z2s6YPm5LsoLU6w2m8uN8H6Xq6pI3c2E1Mw2i 9MZFaxcSeSbYCeioG7kK1XB8o08HEwt93tHcrAJr9+UTBCzOdUuhDeDNsx1IGUaWhaJf 0S5tXrky2rrdUs1AD4TJIcSh1Ih2Qml3LeGesN0G4itgvHHcFFY7ZAOw/2Jok24hWgNM djNN2rz16uCkTz+hn8xz6Rg7XRC7e3PBDFRdn8uWZeVbSYVgtqbAFHXDkvpJ4/MDX0y/ jRzqMaOyUL31sUTdPA5D1E69MFcBkDbKJn7HJDr9O1KB0QDLDR5Zt4Do4UKR900BN4Xu 9//g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x3-20020aa79563000000b006251fb701a6si8419553pfq.285.2023.06.07.01.43.59; Wed, 07 Jun 2023 01:44:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-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; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239278AbjFGImh (ORCPT + 99 others); Wed, 7 Jun 2023 04:42:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45828 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239359AbjFGImR (ORCPT ); Wed, 7 Jun 2023 04:42:17 -0400 Received: from 167-179-156-38.a7b39c.syd.nbn.aussiebb.net (167-179-156-38.a7b39c.syd.nbn.aussiebb.net [167.179.156.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CC7941BD8; Wed, 7 Jun 2023 01:42:09 -0700 (PDT) Received: from loth.rohan.me.apana.org.au ([192.168.167.2]) by formenos.hmeau.com with smtp (Exim 4.94.2 #2 (Debian)) id 1q6ojm-00078n-U3; Wed, 07 Jun 2023 16:41:51 +0800 Received: by loth.rohan.me.apana.org.au (sSMTP sendmail emulation); Wed, 07 Jun 2023 16:41:50 +0800 Date: Wed, 7 Jun 2023 16:41:50 +0800 From: Herbert Xu To: David Howells Cc: netdev@vger.kernel.org, "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Willem de Bruijn , David Ahern , Matthew Wilcox , Jens Axboe , linux-crypto@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next v3 09/10] crypto: af_alg: Convert af_alg_sendpage() to use MSG_SPLICE_PAGES Message-ID: References: <20230606130856.1970660-1-dhowells@redhat.com> <20230606130856.1970660-10-dhowells@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230606130856.1970660-10-dhowells@redhat.com> X-Spam-Status: No, score=2.7 required=5.0 tests=BAYES_00,HELO_DYNAMIC_IPADDR2, PDS_RDNS_DYNAMIC_FP,RDNS_DYNAMIC,SPF_HELO_NONE,SPF_PASS,TVD_RCVD_IP, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Tue, Jun 06, 2023 at 02:08:55PM +0100, David Howells wrote: > Convert af_alg_sendpage() to use sendmsg() with MSG_SPLICE_PAGES rather > than directly splicing in the pages itself. > > This allows ->sendpage() to be replaced by something that can handle > multiple multipage folios in a single transaction. > > Signed-off-by: David Howells > cc: Herbert Xu > cc: "David S. Miller" > cc: Eric Dumazet > cc: Jakub Kicinski > cc: Paolo Abeni > cc: Jens Axboe > cc: Matthew Wilcox > cc: linux-crypto@vger.kernel.org > cc: netdev@vger.kernel.org > --- > crypto/af_alg.c | 52 ++++++++----------------------------------------- > 1 file changed, 8 insertions(+), 44 deletions(-) Acked-by: Herbert Xu -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt