Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp1354650rwn; Thu, 15 Sep 2022 14:36:02 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7Zkxd6YqY+3hIbl/Rguz6Q1J90NbBMqI58otQDEaLDYuf517KqupI+fa7n2NF59gAzGiMn X-Received: by 2002:a17:907:86ab:b0:77e:3d71:6e65 with SMTP id qa43-20020a17090786ab00b0077e3d716e65mr1284099ejc.194.1663277762025; Thu, 15 Sep 2022 14:36:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663277762; cv=none; d=google.com; s=arc-20160816; b=JLR6YmGjjb60mukr+7W7Sc/6l8K/HpVuqK3CbJvpuvgMavWRbn2Y2pyA8ZX8NHbgXz xXcX4RfNaaTAAXnOumUZy5kPbRPbZoi+0qxY1fu/k/MzfpfTWZggzk43hGmQl5dp05O5 h7Uoedy2RSjeU2y1eGuTQWVHLcng0sKomPRFQmTB3/o5JitF97JCIeM9SxnMzDk1mXeY 2OcSOVYghzHdiWfOXcNt6TObO7Q40VT5vk4B5BOf0UGNXwaFbgDS+wmMVLqc+3We7GIi ssZcyQxcZ0dN9YjdEZ3MCCIaHBIO5asnsR2oEhLs2X04JKPxUFMUUzDTA36uSBDNX4um n0lA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=Kf+m7U8TSVSl3FSPQuNNTHwEFQv7KyjKqr1qpipUqvU=; b=Rf26axXlunDgQFRbDlcv80T1qGe4VNCxwPkmPK4hWSGF/ksro9XUY/QfulIPidtCvX hDE0y8y8nJBMJTjEKUHANrKosF0C+MKhhjdi9OvmLY63BROukYogz9juD81rAg9NBwGF H8NhlGiKZdIkyrXXsib0wK1QHYWq/n0zal9JH80HrI8FeZ4U84skapejkBL6wrJUXtK+ NNsDyjaJ7gfpGCdlwuN/QF4SdOv9aQfz/iX1fhTCAUkzpIHPIIAGIRvtGRueslrq7IgB 0N+suORYsdLd3wi0Cg7dWuijvZYsELXdSZGstbWBLhylTQnwZTkdTP6izmMnYcm0r22P K/WA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=jGzpxmT+; 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 sc26-20020a1709078a1a00b0077cfdda438csi11903833ejc.35.2022.09.15.14.35.26; Thu, 15 Sep 2022 14:36:02 -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=jGzpxmT+; 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 S229658AbiIOV2X (ORCPT + 99 others); Thu, 15 Sep 2022 17:28:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51316 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229639AbiIOV2V (ORCPT ); Thu, 15 Sep 2022 17:28:21 -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 5A7CC93528 for ; Thu, 15 Sep 2022 14:28:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1663277299; 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=Kf+m7U8TSVSl3FSPQuNNTHwEFQv7KyjKqr1qpipUqvU=; b=jGzpxmT+hE3+F16ITJTxqiFwEt2cxBoMvZoA1GiGKdGxHVoDFQXNMezbcivZawsY0jg+Tt ZmPP/v4s5DeMqZSvwY3FrVidWSMUOrgTGXfsPw6GdQLlSQK8MisqxZ49KSmlqlFi1sAx65 +WLV2rIiU3Mr4EFYks8YdX3Jsw7wM+0= Received: from mail-il1-f199.google.com (mail-il1-f199.google.com [209.85.166.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-592-w8lmjSPPObW-6srwb5wfbQ-1; Thu, 15 Sep 2022 17:28:18 -0400 X-MC-Unique: w8lmjSPPObW-6srwb5wfbQ-1 Received: by mail-il1-f199.google.com with SMTP id d7-20020a056e02214700b002f3cbbcc8cbso9493528ilv.7 for ; Thu, 15 Sep 2022 14:28:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=Kf+m7U8TSVSl3FSPQuNNTHwEFQv7KyjKqr1qpipUqvU=; b=OdHI+PkCwS4c8loJ7mxxtrM+KxSOKhN8tFTshdsMeTEVwOnpmi+ZJvjlin4mOmMfk/ yMWyEJuwxpXTwiT1W1WYlcoEZ9z5tgqfFywGibICmerESn4SnJ1cJqkUBsK0mX8outu7 J4IPVegC4cbD5XeVuQcHpYTc5FZ+lFUtksVRhvviXwDdo/MEKXJ2mez7ZPz0IWDQW4G3 NIc0dIjesJYMGP97a557T23MSlb80Q6KKsJ8TQAZLMGRg+jbMYgaUvFIBTF8VPwLFGy3 9xbhvPCUQq4OoQXWHwHx4jAAyFZZ/jSJcmnjSYZKmrR5xKfVPg+UPjCtjmGdcrpb/vTf j8GA== X-Gm-Message-State: ACrzQf2TFQIUJNTBJET+Bv8UVaEpVZqKWaROzyihakgPZHxXGsH7uP9e 6rVSzfCubk4HrQ1MXhOSFthXgwHTSipmIZIlW+vxNkBEE+hJD4PApRlDcFCDBnBdXYYguSXAdFo LxFoE3iNq9fwvrta370w8s9qZu3ZeRRE1J1S0 X-Received: by 2002:a02:3f0e:0:b0:35a:54ec:e725 with SMTP id d14-20020a023f0e000000b0035a54ece725mr976693jaa.233.1663277296517; Thu, 15 Sep 2022 14:28:16 -0700 (PDT) X-Received: by 2002:a02:3f0e:0:b0:35a:54ec:e725 with SMTP id d14-20020a023f0e000000b0035a54ece725mr976673jaa.233.1663277296269; Thu, 15 Sep 2022 14:28:16 -0700 (PDT) MIME-Version: 1.0 References: <20220913140357.323297659@linuxfoundation.org> <20220915235936.4AD5.409509F4@e16-tech.com> In-Reply-To: <20220915235936.4AD5.409509F4@e16-tech.com> From: David Wysochanski Date: Thu, 15 Sep 2022 17:27:40 -0400 Message-ID: Subject: Re: [PATCH 5.15 000/121] 5.15.68-rc1 review To: wangyugui@e16-tech.com Cc: Naresh Kamboju , Greg Kroah-Hartman , Linux Kernel Mailing List , stable@vger.kernel.org, Linus Torvalds , akpm@linux-foundation.org, linux@roeck-us.net, shuah@kernel.org, patches@kernelci.org, lkft-triage@lists.linaro.org, pavel@denx.de, jonathanh@nvidia.com, f.fainelli@gmail.com, sudipm.mukherjee@gmail.com, slade@sladewatkins.com, Trond Myklebust , Anna Schumaker , linux-nfs Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_NONE 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-nfs@vger.kernel.org On Thu, Sep 15, 2022 at 12:02 PM Wang Yugui wrote: > > Hi, > > > I have not bisected the reported problem. > > > > hugemmap05.c:99: TINFO: check /proc/meminfo before allocation. > > hugemmap05.c:278: TINFO: HugePages_Total is 3. > > hugemmap05.c:278: TINFO: HugePages_Free is 3. > > hugemmap05.c:278: TINFO: HugePages_Surp is 1. > > hugemmap05.c:27[ 51.077819] ------------[ cut here ]------------ > > [ 51.082692] WARNING: CPU: 0 PID: 590 at fs/nfs/inode.c:123 > > nfs_evict_inode+0x58/0x70 > > [ 51.090451] Modules linked in: x86_pkg_temp_thermal > > [ 51.095329] CPU: 0 PID: 590 Comm: hugemmap05 Not tainted 5.15.68-rc1 #1 > > [ 51.101948] Hardware name: Supermicro SYS-5019S-ML/X11SSH-F, BIOS > > 2.5 11/26/2020 > > [ 51.109340] RIP: 0010:nfs_evict_inode+0x58/0x70 > > [ 51.113872] Code: 29 49 8b 54 24 90 49 8d 44 24 90 48 39 c2 75 2b > > 4c 89 e7 e8 7a d8 ff ff 4c 89 e7 e8 82 74 ff ff 4c 8b 65 f8 c9 c3 cc > > cc cc cc <0f> 0b 49 8b 54 24 90 49 8d 44 24 90 48 39 c2 74 d5 0f 0b eb > > d1 0f > > [ 51.132626] RSP: 0018:ffffb6b140a8fb90 EFLAGS: 00010286 > > [ 51.137861] RAX: adacafaea9a8abaa RBX: ffff937fa606a2c0 RCX: ffffb6b140a8fbd0 > > [ 51.144986] RDX: ffff937fa606a2d0 RSI: ffffffffbc720682 RDI: ffffffffbc5ec05f > > [ 51.152120] RBP: ffffb6b140a8fb98 R08: 0000000000000000 R09: ffffb6b140a8fcf0 > > [ 51.159253] R10: 0000000000000000 R11: 0000000000000002 R12: ffff937fa606a1a8 > > [ 51.166395] R13: ffffffffbd851b40 R14: ffff937c40803870 R15: 0000000000000003 > > [ 51.173525] FS: 00007f5afcdf4740(0000) GS:ffff937fa7a00000(0000) > > knlGS:0000000000000000 > > [ 51.181602] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > > [ 51.187359] CR2: 00007f5afcf10680 CR3: 000000010360a006 CR4: 00000000003706f0 > > 8: TINFO: HugePa[ 51.194499] DR0: 0000000000000000 DR1: > > 0000000000000000 DR2: 0000000000000000 > > [ 51.203009] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 > > [ 51.210135] Call Trace: > > [ 51.212585] > > [ 51.214684] evict+0xc8/0x180 > > [ 51.217682] prune_icache_sb+0x81/0xc0 > > [ 51.221435] super_cache_scan+0x169/0x200 > > [ 51.225447] do_shrink_slab+0x13f/0x2b0 > > [ 51.229288] shrink_slab+0x186/0x2a0 > > [ 51.232868] drop_slab_node+0x4a/0xa0 > > [ 51.236533] drop_slab+0x41/0x90 > > [ 51.239765] drop_caches_sysctl_handler+0x79/0x90 > > [ 51.244471] proc_sys_call_handler+0x159/0x290 > > [ 51.248918] proc_sys_write+0x13/0x20 > > [ 51.252582] new_sync_write+0x111/0x1a0 > > [ 51.256423] vfs_write+0x1d5/0x270 > > [ 51.259828] ksys_write+0x67/0xf0 > > [ 51.263150] __x64_sys_write+0x19/0x20 > > [ 51.266901] do_syscall_64+0x38/0x90 > > [ 51.270479] entry_SYSCALL_64_after_hwframe+0x61/0xcb > > [ 51.275534] RIP: 0033:0x7f5afcef31d7 > > [ 51.279112] Code: 0f 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 > > 0f 1f 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 01 00 00 > > 00 0f 05 <48> 3d 00 f0 ff ff 77 51 c3 48 83 ec 28 48 89 54 24 18 48 89 > > 74 24 > > [ 51.297859] RSP: 002b:00007ffd40638738 EFLAGS: 00000246 ORIG_RAX: > > 0000000000000001 > > [ 51.305425] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f5afcef31d7 > > [ 51.312557] RDX: 0000000000000001 RSI: 00000000016f1480 RDI: 0000000000000003 > > [ 51.319689] RBP: 00000000016f1480 R08: 0000000000000001 R09: 0000000000000001 > > [ 51.326812] R10: 0000000000001000 R11: 0000000000000246 R12: 0000000000000001 > > [ 51.333938] R13: 00000000016f12a0 R14: 0000000000000001 R15: 00007f5afcfe87a0 > > [ 51.341073] > > [ 51.343264] ---[ end trace 3420625c1fbde9e9 ]--- > > ges_Rsvd is 3. > > [ 51.348004] hugemmap05 (590): drop_caches: 3 > > hugemmap05.c:253: TINFO: First hex is 7070707 > > I hit this warning too. > > It seems that we need this patch for 5.15.y > > commit 0ebeebcf59601bcfa0284f4bb7abdec051eb856d > Author: Dave Wysochanski > Date: Sun Oct 10 18:23:13 2021 -0400 > > NFS: Fix WARN_ON due to unionization of nfs_inode.nrequests > > Fixes the following WARN_ON > WARNING: CPU: 2 PID: 18678 at fs/nfs/inode.c:123 nfs_clear_inode+0x3b/0x50 [nfs] > ... > Call Trace: > nfs4_evict_inode+0x57/0x70 [nfsv4] > evict+0xd1/0x180 > > Best Regards > Wang Yugui (wangyugui@e16-tech.com) > 2022/09/15 > > Sorry, commit 0ebeebcf59601bcfa0284f4bb7abdec051eb856d probably should have had this Fixes: e591b298d7ec "NFS: Save some space in the inode"