Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp433716rwd; Wed, 7 Jun 2023 01:52:19 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4mySI8Pi1e/mDlacPRDEKz4rONE7UWs3sCQnOxzQ4Kpv6tB1cSln0NP9pxJeXNkDzxA52T X-Received: by 2002:a17:902:d489:b0:1a6:cf4b:4d7d with SMTP id c9-20020a170902d48900b001a6cf4b4d7dmr1335211plg.2.1686127939601; Wed, 07 Jun 2023 01:52:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686127939; cv=none; d=google.com; s=arc-20160816; b=PHnypZgBAikQ6+DGcm6vFVHxoRAaom+/ijula161aeXWZKL6ZwsVFWEdFDfL0LKuAM L9wh/dTyq2+wv8mArakrzFCh33vblfQfjCptUjJp+s8jkssBwi2kY5zVinRE1pHAAsek Mr/3LJ7J0ldepOjNTD+J8wkKjgYh3GYwRlSeLcfEd/sI8f1yX+Xn7nOYd57HR/rDspq0 ip0ttPlB5FOA0ZhHohxne4+/dtnkT/52rQgmjPwxfYyT8uxzDw3fPzVv/ZpqrnDET93b /N69EfmG0+LO1xVp3cA0Nst+AbrPYRXr4/F0R0qhe4Oij53PNko57cVdFbSaNZot6gNs jrfQ== 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=W5FoZa1H4DSY8slnNtjaC6R7LIm5uRGnuiYM1Dn4q3o=; b=etK7eyfgrfbo6JKpLUSkijOChEqKtxKiiIQlsYVbJnDzAVEWbsjOwk8KI6lBsTEUTQ om2t5vrtCizabEe4eXQNEVSDMmkBNelgji6tRfmR05W+SfED+LS7JwEjRV5Q8kbdC3VH 3ye6Zz587dH5eE/Zg8f3R578DS1T85V58/4Ifgde68xKCCEpXtEUWFHeyd4PWSZ5bm9h 1mSjR5g5r+zfzh5FiH5ieT8a21hlrX+hqVntWU9iCcQJBE40jvRllxFUx9nRspT6n1K9 B2eTs49xHpBey1cl4l4RnbBS2jIGm5Ql/deTnvbQnwZ9W8HLw80OTmFLKk9CakyyccO9 UDTw== 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 g12-20020a170902934c00b001b049aae135si8303895plp.246.2023.06.07.01.52.06; Wed, 07 Jun 2023 01:52:19 -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 S234352AbjFGIs5 (ORCPT + 99 others); Wed, 7 Jun 2023 04:48:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235583AbjFGIs4 (ORCPT ); Wed, 7 Jun 2023 04:48:56 -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 BC6E318F; Wed, 7 Jun 2023 01:48:53 -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 1q6oq8-0007Kf-9L; Wed, 07 Jun 2023 16:48:25 +0800 Received: by loth.rohan.me.apana.org.au (sSMTP sendmail emulation); Wed, 07 Jun 2023 16:48:24 +0800 Date: Wed, 7 Jun 2023 16:48:24 +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 10/10] crypto: af_alg/hash: Support MSG_SPLICE_PAGES Message-ID: References: <20230606130856.1970660-1-dhowells@redhat.com> <20230606130856.1970660-11-dhowells@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230606130856.1970660-11-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:56PM +0100, David Howells wrote: > Make AF_ALG sendmsg() support MSG_SPLICE_PAGES in the hashing code. This > causes pages to be spliced from the source iterator if possible. > > 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 > --- > > Notes: > ver #2) > - Fixed some checkpatch warnings. > > crypto/af_alg.c | 11 +++-- > crypto/algif_hash.c | 100 +++++++++++++++++++++++++++----------------- > 2 files changed, 70 insertions(+), 41 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