Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1106650rwd; Wed, 7 Jun 2023 11:04:10 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4Ct2O93J6Dg6olPpQ5rhloBw7MAXZ3hogW3O95PyggUeUqER4s3QKFcBDOAuDopGNG4Ra/ X-Received: by 2002:a05:6a21:2d84:b0:114:ec7e:a60a with SMTP id ty4-20020a056a212d8400b00114ec7ea60amr3797668pzb.38.1686161050366; Wed, 07 Jun 2023 11:04:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686161050; cv=none; d=google.com; s=arc-20160816; b=vZvIf2G1KHNHZCp14QAmvuOk1+mxORErqBOs48pjiDdkXgGn4FtB8H8BL++umBOOwG QR9colB8wrGIxXNmTNgfuNYPThqcxgVwfwqxCApAWmAO8ENb3HE2ztN5csAra27C4xbZ LFRg8U/MCtPASWyFujLxRE/2JRqs6nrbrpnPFYcP5kon66GwYFBxdUjbHVBxAzR9Aj+s 1ZvpV8WQQ8x0bSSlrbvlbJfe8mws2qQ9CNMbrs5mOZvu0zrRy7tVFGRJ/qlPmTTje9xC rxn3aeO7npWzATV8TnCCcE6EDRvrJinQgoo3Tc137+r/SkiZPE7EaBGdNksIxxOxU/ym iWUQ== 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=xc3kt7fbXK4RZZ9hervM2RINSzi1H8nscf+Y8dFfX2M=; b=bZ+Ef4bDl/HKQrQ5zdYeKmr5pq2ULdTmI5o+hF4G18Pnr44e/OIm0gAW14+5I8rsIx /KLbZFf3w5EWI1q+b1M5QJBn/7p/3CgfqOnQDV5PsYzW3QJIVj4c92mBq8XwjkzBkIPB q2oG8M5TBO2hlgVyFgIEn2LXtH4bV4xVKhY7ITNUKbXmKXd96OAXSkUgF1lSWD1RH7od o1ZDP6kysLw20Tt7TbHjLcqzFCpwrPJaSC7/bnqcky2ZJUdEgT3bPLvDLU+auzzb7Q3x ll2dkNDP6wIyu/sSbL4rnD9Tftc2NNY6wF2fE+31MPWjTELemYAX57wVseVXprt6/WNV TQlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=gzRfe07X; 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 z15-20020a630a4f000000b0051e011fcd73si9137324pgk.237.2023.06.07.11.03.54; Wed, 07 Jun 2023 11:04:10 -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=gzRfe07X; 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 S230445AbjFGRdE (ORCPT + 99 others); Wed, 7 Jun 2023 13:33:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36170 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229589AbjFGRdD (ORCPT ); Wed, 7 Jun 2023 13:33:03 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 765C21993 for ; Wed, 7 Jun 2023 10:31:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1686159116; 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=xc3kt7fbXK4RZZ9hervM2RINSzi1H8nscf+Y8dFfX2M=; b=gzRfe07XNfJJLs7rWptVLImuWFkxBs9Znl3LQhf07dzocEd9CirNiKaJQitHtqQ7qZSu5b c2Woy6Avx90lw7Iij7flZfgUTGO5bTCVRY1A5PHGDoj5qejOGj/FTaQKzvRQTUQSTbAa5x DBHioXzFrAcpu4bjEUwmvrmY2BDJnfM= 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-255-6fb_cFy7NMyCZG_m0dqakA-1; Wed, 07 Jun 2023 13:31:54 -0400 X-MC-Unique: 6fb_cFy7NMyCZG_m0dqakA-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 A24F610328C9; Wed, 7 Jun 2023 17:31:12 +0000 (UTC) Received: from warthog.procyon.org.uk (unknown [10.42.28.182]) by smtp.corp.redhat.com (Postfix) with ESMTP id DF14A2166B25; Wed, 7 Jun 2023 17:31:10 +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: <2291292.1686158954@warthog.procyon.org.uk> References: <2291292.1686158954@warthog.procyon.org.uk> <20230607101945.65c5df51@kernel.org> <20230607140559.2263470-1-dhowells@redhat.com> <20230607140559.2263470-12-dhowells@redhat.com> To: Jakub Kicinski Cc: dhowells@redhat.com, netdev@vger.kernel.org, Linus Torvalds , Chuck Lever , Boris Pismenny , John Fastabend , "David S. Miller" , Eric Dumazet , Paolo Abeni , Willem de Bruijn , David Ahern , Matthew Wilcox , Jens Axboe , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next v5 11/14] tls/sw: Support MSG_SPLICE_PAGES MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2293094.1686159070.1@warthog.procyon.org.uk> Date: Wed, 07 Jun 2023 18:31:10 +0100 Message-ID: <2293095.1686159070@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 3.1 on 10.11.54.6 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham 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 David Howells wrote: > > > - tls_ctx->pending_open_record_frags = true; > > > copied += try_to_copy; > > > +copied: > > > + tls_ctx->pending_open_record_frags = true; > > > > Why move pending-open-record-frags setting if it's also set before > > jumping? > > I should probably remove it from before the goto - unless you'd prefer to do > it in both places. Actually, I need to keep the one before the goto. David