Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp4987479rwb; Mon, 21 Nov 2022 14:58:54 -0800 (PST) X-Google-Smtp-Source: AA0mqf43nO0KhIJG9mp/x/tVX8o7Qk5gteQ4kzl+2hkYb8pEoj69GZQ/nmHUtwg5lthLz6JFGH2R X-Received: by 2002:a63:f308:0:b0:43b:ddc9:1d13 with SMTP id l8-20020a63f308000000b0043bddc91d13mr19732222pgh.284.1669071534644; Mon, 21 Nov 2022 14:58:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669071534; cv=none; d=google.com; s=arc-20160816; b=VEHtCbf+nbAefQK1ClseDEgIYBHcZGaZ29LPyh5+3U9AvnykcLsKfEmpgFLW81IAAZ 0Bw5ZyDL/zwC4ztGwAMDKd4TAxVH0NWyhhYmfXpf67hn6uJkxn05Jl3lr3v7C8jKaQ34 nGikP92T56d+u71CGSZXN3gLSPlqnOlldLHGiuFgpwdtIAG7RPLv/3F0iyuRdJy+sXJh MzgLf0pzhgfjqCDmjOF/DcpEcq1x3DvFY3uIwPnbaPqfQrabStSmNKjF0jQqATOKTcu5 Uc929oizKjo/sTHz0fOHZkLXD5LEGzpWFqG4etz2Y82tKvv7XZnfMt0clcuswKqfxBk5 fHWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=C14m+5yBrv+u7QhAN78BFentZAFfnah8l0PUC4om7m8=; b=EnDBL+BCmK7InugOk7CMFnVgQLre3xJ/il7k31vZarHMx06AyQnVOsYhOnWB/DOajV xfYZo+N44Ev75WP+HGYpiBamoaERBfPaqyYiWiSlmbNvfN03erWI4TWL7K2RIc0/9c1y uFsZ6cLQvL2OzYJEGKYf0TkhZMDSN2i7V18TWp31biV3usMj1r2M2nxypsrCdUc6JPoj iwnzhu8o087LVJSIub2ARQyJRPkFsmau5VkOSAGSasKpE/rFmSS9/RikBtKeDbYWm0cN rDg18qW5hsI76VRVV4JUURm7sg+86qhRckA8CYVJbGIE50sBScmVY6WWHqrCuucNGtPw GNUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=Hffgzad5; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k31-20020a634b5f000000b004708e8db2b4si12897000pgl.796.2022.11.21.14.58.41; Mon, 21 Nov 2022 14:58:54 -0800 (PST) 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=@linuxfoundation.org header.s=google header.b=Hffgzad5; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231864AbiKUWcJ (ORCPT + 91 others); Mon, 21 Nov 2022 17:32:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41338 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230152AbiKUWcH (ORCPT ); Mon, 21 Nov 2022 17:32:07 -0500 Received: from mail-io1-xd2d.google.com (mail-io1-xd2d.google.com [IPv6:2607:f8b0:4864:20::d2d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1FB73DEAD4 for ; Mon, 21 Nov 2022 14:32:06 -0800 (PST) Received: by mail-io1-xd2d.google.com with SMTP id q21so9717914iod.4 for ; Mon, 21 Nov 2022 14:32:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=C14m+5yBrv+u7QhAN78BFentZAFfnah8l0PUC4om7m8=; b=Hffgzad5MotJq5EstTpwFVQ55zJ2m4sb3dYfhAhqq6QB33wEMcRLHmm2P2eeaxcyl7 AuWzz1/l9u/1PZyxMCWxsiA0Q6e5fRCsSvqJb8QkirXxS7f+WkWGHtcgrG5qSrXeSLS7 dJYa3L0ToHNG/CDOCknNOKSmu/izuTLa+EFwY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=C14m+5yBrv+u7QhAN78BFentZAFfnah8l0PUC4om7m8=; b=46ta7knz5o5ErC8F4pSwvGkI+cmM8jY3H87wETcG/AeO24wbfu/H30kdKtWtbZEuUF RMpZ1XEbFUwc2rGjh/okfDTHQe2OZwvAttMV8Gv0damUWznYcNk3riWcN2UAglP86fp6 ZNPML4kQEj8D+FPobIlIlU7HVOTSvKqSU0u/hKEYCsbtwj7U9l/ncaCGmXO425z6yz4F FpCyece/LeW2l/fqKa6egGSCChbzsFbPgRWiFKiicrNs0r7jTgE5OobdAuc0FCVkk6GX OeCyg9BBGH6swj4lu95W0xuyGTQ+kx5i5SOxwjYo/Q1J+VKubmozybNkmQQo+7nWKMeh 5EVw== X-Gm-Message-State: ANoB5pkjYLnVLoFNK1Qc32GWEk8ekWQv+CJ44INain0ctCqSggMoc89z FWKA4DlWyHbua9rEnsscB+aOUw== X-Received: by 2002:a02:cba6:0:b0:375:a360:a130 with SMTP id v6-20020a02cba6000000b00375a360a130mr9477313jap.307.1669069925449; Mon, 21 Nov 2022 14:32:05 -0800 (PST) Received: from [192.168.1.128] ([38.15.45.1]) by smtp.gmail.com with ESMTPSA id f15-20020a056638112f00b0037502ffac71sm4612316jar.18.2022.11.21.14.32.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 21 Nov 2022 14:32:04 -0800 (PST) Message-ID: <96114bec-1df7-0dcb-ec99-4f907587658d@linuxfoundation.org> Date: Mon, 21 Nov 2022 15:32:02 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH v1 2/3] Treewide: Stop corrupting socket's task_frag Content-Language: en-US To: Benjamin Coddington Cc: David Howells , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Philipp Reisner , Lars Ellenberg , =?UTF-8?Q?Christoph_B=c3=b6hmwalder?= , Jens Axboe , Josef Bacik , Keith Busch , Christoph Hellwig , Sagi Grimberg , Lee Duncan , Chris Leech , Mike Christie , "James E.J. Bottomley" , "Martin K. Petersen" , Valentina Manea , Shuah Khan , Greg Kroah-Hartman , Marc Dionne , Steve French , Christine Caulfield , David Teigland , Mark Fasheh , Joel Becker , Joseph Qi , Eric Van Hensbergen , Latchesar Ionkov , Dominique Martinet , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Ilya Dryomov , Xiubo Li , Trond Myklebust , Anna Schumaker , Chuck Lever , Jeff Layton , drbd-dev@lists.linbit.com, linux-block@vger.kernel.org, nbd@other.debian.org, linux-nvme@lists.infradead.org, open-iscsi@googlegroups.com, linux-scsi@vger.kernel.org, linux-usb@vger.kernel.org, linux-afs@lists.infradead.org, linux-cifs@vger.kernel.org, samba-technical@lists.samba.org, cluster-devel@redhat.com, ocfs2-devel@oss.oracle.com, v9fs-developer@lists.sourceforge.net, ceph-devel@vger.kernel.org, linux-nfs@vger.kernel.org, Shuah Khan References: <382872.1669039019@warthog.procyon.org.uk> <51B5418D-34FB-4E87-B87A-6C3FCDF8B21C@redhat.com> <4585e331-03ad-959f-e715-29af15f63712@linuxfoundation.org> <26d98c8f-372b-b9c8-c29f-096cddaff149@linuxfoundation.org> From: Shuah Khan In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 11/21/22 15:01, Benjamin Coddington wrote: > On 21 Nov 2022, at 16:43, Shuah Khan wrote: > >> On 11/21/22 14:40, Shuah Khan wrote: >>> On 11/21/22 07:34, Benjamin Coddington wrote: >>>> On 21 Nov 2022, at 8:56, David Howells wrote: >>>> >>>>> Benjamin Coddington wrote: >>>>> >>>>>> Since moving to memalloc_nofs_save/restore, SUNRPC has stopped setting the >>>>>> GFP_NOIO flag on sk_allocation which the networking system uses to decide >>>>>> when it is safe to use current->task_frag. >>>>> >>>>> Um, what's task_frag? >>>> >>>> Its a per-task page_frag used to coalesce small writes for networking -- see: >>>> >>>> 5640f7685831 net: use a per task frag allocator >>>> >>>> Ben >>>> >>>> >>> >>> I am not seeing this in the mainline. Where can find this commit? >>> >> >> Okay. I see this commit in the mainline. However, I don't see the >> sk_use_task_frag in mainline. > > sk_use_task_frag is in patch 1/3 in this posting. > > https://lore.kernel.org/netdev/26d98c8f-372b-b9c8-c29f-096cddaff149@linuxfoundation.org/T/#m3271959c4cf8dcff1c0c6ba023b2b3821d9e7e99 > Aha. I don't have 1/3 in my Inbox - I think it would make sense to cc people on the first patch so we can understand the premise for the change. thanks, -- Shuah