Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp21463056rwd; Thu, 29 Jun 2023 16:57:39 -0700 (PDT) X-Google-Smtp-Source: APBJJlGpqsPhwB1ku6IwnzModZSpOozcmCU4ZW9XToh41j0YIiwdCjBVGV3JZ8C5pzhCRX8MnVKJ X-Received: by 2002:a17:903:192:b0:1b8:6647:2e88 with SMTP id z18-20020a170903019200b001b866472e88mr543385plg.57.1688083058859; Thu, 29 Jun 2023 16:57:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688083058; cv=none; d=google.com; s=arc-20160816; b=SHYu0ZBiA060453F30g3S7CkqmHI2CMLhwhFeeNNIt9J58f2XPiD91BHYRz+D5MJHw Up5pdvy3kFxBQJewmLOaRIHvI7jSx/3kuOxhsAdbFkxcjxaPeV1vzApln7FJEJp4vnro d21GqtsQC0d3fJUh0adHLd3alN8LpvAL5Ys3jLQ375qAKmme1oGDc1E11oujsCAYbK36 vzVWI6w6eFSJq6joB6M4MqiKCSM7rnZ+a0HJx8cC18IvQNDxdOFmOkBnGlPLP+cF6f4I OQWuqsFQPHEJNIbL8khPdcpKyuFw0ejFLgubJQkC+x6PRyQu9PV00UHQ4MLXBedC4dsx GdFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=8DbnrhrxbHk10usug3uWD49kSFa46KFkJtYysT+9Mvs=; fh=o+uANh7Ye7kccmw4KFdpWdMzSZkyRQfENFgoyj3ezCM=; b=M8qvYE03csCyFb2p/hKY/Smz9QDMPDNfyqmUGUGFHXvAEqRdu+SnGsfeDoRXhId4RD KwOHkcclKohnCyCes8h9cc7puY6v0qs8D72BQjb/MIZidFcsq9b3Xslfjxfkq+IBsb5f 7OXeJWI5luB2feA1X4ORPK55/o3rRdmLjikyZwDvsEbanG4ewHSFv8ig1BG0Pkq+1VGN kxI31RRK2TcCOHskgCxq3gVR5Odq599aWy6abGjuB1EIpXs3WohASucgLuXJW0FCbJSy HxYOSl5B3gyzeUNJTuHfSLUB8zHugDYWLPyo7ADxHINaCScUlaMix450M2kzUPY7LlsS BOvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="FAwxhF/s"; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l12-20020a170902f68c00b001b86dfad851si318334plg.253.2023.06.29.16.57.26; Thu, 29 Jun 2023 16:57:38 -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=@kernel.org header.s=k20201202 header.b="FAwxhF/s"; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230410AbjF2Xo0 (ORCPT + 99 others); Thu, 29 Jun 2023 19:44:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37184 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231282AbjF2XoL (ORCPT ); Thu, 29 Jun 2023 19:44:11 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED7843AAB for ; Thu, 29 Jun 2023 16:43:43 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id BB1E86167A for ; Thu, 29 Jun 2023 23:43:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 76DA5C433C9; Thu, 29 Jun 2023 23:43:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1688082200; bh=KIYW1lUTJeQEkbIElm6us4axZkg9EmgFSwq92AAsf6A=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=FAwxhF/sxTGaYZAjCNqCnXzM7+1IK6BDzDB725t8iS0GHPDcS1bhTM8BwwZl6JeVx 61w93PxTHNhifhYhOawcWoYmxCqnzubKSubp9DLbQgU5P8G5Z/IdzpHEVRCTKsikYr I7EkcgcYNjVcKq2Id/oC2GgeGbmBqOPfYQqZC7PtYzGfRG+4O34EytEQW0oF0aqKAQ 803uYRUYut+Nfy4yz0+l6nAZLT68yUufkg5pNe0mCuD15bJ0+Q2Vj1FQ3H5TtaMdTm SmurcO0ub7iNkhFWFvhRR4LvPCC0uoam7AqUJfZjdPBphlYAfCZynAHlsqyoRcpell xnaG0uRIZVnag== Date: Thu, 29 Jun 2023 16:43:18 -0700 From: Jakub Kicinski To: David Howells Cc: Aurelien Aptel , netdev@vger.kernel.org, Alexander Duyck , "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, Sagi Grimberg , Willem de Bruijn , Keith Busch , Jens Axboe , Christoph Hellwig , Chaitanya Kulkarni , linux-nvme@lists.infradead.org, llvm@lists.linux.dev Subject: Re: [PATCH net-next v3 10/18] nvme/host: Use sendmsg(MSG_SPLICE_PAGES) rather then sendpage Message-ID: <20230629164318.44f45caf@kernel.org> In-Reply-To: <58466.1688074499@warthog.procyon.org.uk> References: <253mt0il43o.fsf@mtr-vdi-124.i-did-not-set--mail-host-address--so-tickle-me> <20230620145338.1300897-1-dhowells@redhat.com> <20230620145338.1300897-11-dhowells@redhat.com> <58466.1688074499@warthog.procyon.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,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 On Thu, 29 Jun 2023 22:34:59 +0100 David Howells wrote: > if (!sendpage_ok(page)) > - msg.msg_flags &=3D ~MSG_SPLICE_PAGES, > + msg.msg_flags &=3D ~MSG_SPLICE_PAGES; =F0=9F=98=B5=EF=B8=8F Let me CC llvm@ in case someone's there is willing to make=20 the compiler warn about this.