Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp2915987rwo; Mon, 24 Jul 2023 03:29:50 -0700 (PDT) X-Google-Smtp-Source: APBJJlF8UA0kFyPH0CrxN/TcgatT9UgE3pOcnlGyg9CKW7nLr4EBf0eMWlXwuR7Z0GcjmWmsCbat X-Received: by 2002:aa7:c759:0:b0:521:728f:d84e with SMTP id c25-20020aa7c759000000b00521728fd84emr10317925eds.0.1690194589897; Mon, 24 Jul 2023 03:29:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690194589; cv=none; d=google.com; s=arc-20160816; b=d5ItkCSPFpAgS09/tR45uNva8PNdUW6zOdQsmWmwnaYAFiXyKuEb/H5V2llf2h6ijx 3irliKfVS+RKhzmh9vavq1VYupcsTiyypTcSNKZeAisrydRyGCcjSnJeaTg/Q0eowdFQ hG2LwC+mo0I2KT7U+VVe28qfP3B35LC4F+SfkXjcYAY0h4edwd0WjdSoPY0BwkBt+awn /XcwGjd5ZWlQ6BL8Haxxv9etxdZdh9G+VgW9UZgNIRPu9wAYB1Pt6W057phapJjRBE8R OQCCGfoaonuZt6Ap5iwNIF5zKaqo5wddhdXXqG1tG+dxDdeGvY7kJ3TOuJYUVSllxLrx C/KA== 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=hElr3oAo1P+U1Ohn5FyKlRi/J/m2MdRTbO0VL1LnEoA=; fh=HwOMgwl7wHFhqWLRBLCtp7KSyG5WaHHYsTuRJD6/gOE=; b=q6ie5Mby9UYCn5YISgivl7DB7o6V0ExXePMAd09EJM/c9wluOXj8I0khSwJRXW7/wp qci0kOWXCaklYgN9rVWKSSFfOlUkCItHBZTsCYkTyzED0SqgBvydnnqZ3zwktcCfOdAQ s8Zhf0VJ6gXHL+TA2wmBxcKiYOzZy9+Y0f8+08jALvXxnduTtf3Vdx1JS64LKsx7oV3C KFPZ38lVjR1I0lJcQU6gmpMX5XQxTxq21Et2KhEC4B1jE/VBETPLpRIgff+j2OM4EoNR ql2OP+zw/UCTy3/UlLB2yKI2t1wlSdgd79t6poxVaQPCMyfq8hYX+hKYyn2QgRUXLk1J it5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=FiEl3TzZ; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-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 z26-20020aa7c65a000000b0051dd487b0d6si6293939edr.361.2023.07.24.03.29.24; Mon, 24 Jul 2023 03:29:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-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=FiEl3TzZ; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-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 S232769AbjGXKIh (ORCPT + 99 others); Mon, 24 Jul 2023 06:08:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36808 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233438AbjGXKIP (ORCPT ); Mon, 24 Jul 2023 06:08:15 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2AD1049E2 for ; Mon, 24 Jul 2023 02:59:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1690192737; 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=hElr3oAo1P+U1Ohn5FyKlRi/J/m2MdRTbO0VL1LnEoA=; b=FiEl3TzZSAkyi2Obo7CG2AthKaW+vMd2gCQY/Pe8pZX/d8bM6BTrA0KaNkoQgkerT/lgS8 OJWAdYauF1AquQek9ijUkIK+9FdTF2adagHryjPzcnA5ptFIsE1vgdEkaZyQqDoT3wiaj+ 7QVNMmBkFxbjs1ONpH1qLw7npkw1fvM= 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-340-6pDLNKHwOtGUQU_A7RZXCg-1; Mon, 24 Jul 2023 05:58:52 -0400 X-MC-Unique: 6pDLNKHwOtGUQU_A7RZXCg-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 BE188185A78B; Mon, 24 Jul 2023 09:58:51 +0000 (UTC) Received: from warthog.procyon.org.uk (unknown [10.42.28.116]) by smtp.corp.redhat.com (Postfix) with ESMTP id 266AB2166B25; Mon, 24 Jul 2023 09:58:51 +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: <168979146971.1905271.4709699930756258041.stgit@morisot.1015granger.net> References: <168979146971.1905271.4709699930756258041.stgit@morisot.1015granger.net> <168979108540.1905271.9720708849149797793.stgit@morisot.1015granger.net> To: Chuck Lever Cc: dhowells@redhat.com, linux-nfs@vger.kernel.org, netdev@vger.kernel.org, Chuck Lever Subject: Re: [PATCH v3 2/5] SUNRPC: Send RPC message on TCP with a single sock_sendmsg() call MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <64139.1690192730.1@warthog.procyon.org.uk> Date: Mon, 24 Jul 2023 10:58:50 +0100 Message-ID: <64140.1690192730@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, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,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-nfs@vger.kernel.org Chuck Lever wrote: > + buf = page_frag_alloc(&svsk->sk_frag_cache, sizeof(marker), > + GFP_KERNEL); Is this SMP-safe? page_frag_alloc() does no locking. David