Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp479288rdf; Tue, 21 Nov 2023 07:48:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IEW3kPD7GkUkNkASGW0lpkjTdvWPH2Y2EfNicy25lVxvwCxvB8O4Z/i1JIqvmrG3wpN+t/s X-Received: by 2002:a17:902:e74f:b0:1c5:cf7c:4d50 with SMTP id p15-20020a170902e74f00b001c5cf7c4d50mr5221321plf.18.1700581698913; Tue, 21 Nov 2023 07:48:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700581698; cv=none; d=google.com; s=arc-20160816; b=tg1Cf4xoy1pZs3uVtg+X+2HtvqQgg6wUdgUiQgEZhza/By48ODLNF79sroC8oFxAXB kOZUcORh2juBUQHwoQorUS/eQwD7PuL3EyeG1uAAkdxhI7yHHenYpUcqD8OrVzV9V5el FqXBcBwPD8wjXoWU/1YppdNmpsyAmeAOf/0iDLTrt6AM/w+JOS04b76PJcv3TtqWVMI1 AQPnV8o5/qFc00+0BJj4La60WZOxDC4/cCVwCPPeJbMMK4C2cYD9+1aXEdU+mKA9bBSf h721UnmMmuIRIO44G84frzvThm5xdH3ccVOo+AViVBNb9/CPL1LxsgQghDnpVIMEyyJF E/KQ== 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:mime-version:date :dkim-signature:message-id; bh=zVdBdlkIsnH6I2p3E5sm8f7fpOQeckAW/foyxumZ7OY=; fh=+D+ezuPHsFC2bNNOuYr3objbePxwZvz3vqBnrN0+mdM=; b=F3CNO+0Bls0enF4GQtVX7zwD3pSvzyZA6Pl9eot15DZsU7baJQf1jgSEM8pg+NX2Ij IQC6+e5H2dqly/V4pyJFmtomtN0G0sWJyyCfBkHfA98LEDntD1Q6rZJsFW0RGm32ZHML 7JWv/53C+MGdz1jgzIPNm/K4ZqRC+hW5n+ons1OUmLbXYYJwkv1PeyAo67OiTcbp4K3M 7e/gnu8KNA5DF47Tb/lw+3cAQpElnSwrim14/+WSPYST+INUWpw1cAbtUVaUCTwMWyeY I6fuIEL5smm4XHUPfpePt3Z9CpK+RO4SNxpywFIBBS+7d31WvxjuCtrzjVoQKbOs2V48 YBOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=rvCdEZdn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id i14-20020a17090332ce00b001c3323ff53asi11092146plr.139.2023.11.21.07.48.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 07:48:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=rvCdEZdn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 08911803DCDC; Tue, 21 Nov 2023 07:48:16 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234460AbjKUPsD (ORCPT + 99 others); Tue, 21 Nov 2023 10:48:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38046 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230509AbjKUPsC (ORCPT ); Tue, 21 Nov 2023 10:48:02 -0500 Received: from out-188.mta1.migadu.com (out-188.mta1.migadu.com [95.215.58.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 10C0999 for ; Tue, 21 Nov 2023 07:47:58 -0800 (PST) Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1700581676; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=zVdBdlkIsnH6I2p3E5sm8f7fpOQeckAW/foyxumZ7OY=; b=rvCdEZdneqNOUqfvNgM8d99zC5r7Hm7vbnpqQFZJWCW0yCRnq4Mebspr9XdHZ8UY5+giaE HTGgWBHAIqQCryqFsD7hJeOB7HWW9cZr4dJMhVVMAI/Lns9q20GyA8hbbwYm4nWX/hWBGk 0AMg52MLYLOzj2rDPE0PqBd2xWyR3Zk= Date: Tue, 21 Nov 2023 23:47:26 +0800 MIME-Version: 1.0 Subject: Re: [PATCH v5 6/9] slub: Delay freezing of partial slabs Content-Language: en-US To: Mark Brown Cc: vbabka@suse.cz, cl@linux.com, penberg@kernel.org, rientjes@google.com, iamjoonsoo.kim@lge.com, akpm@linux-foundation.org, roman.gushchin@linux.dev, 42.hyeyoo@gmail.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Chengming Zhou References: <20231102032330.1036151-1-chengming.zhou@linux.dev> <20231102032330.1036151-7-chengming.zhou@linux.dev> <4f3bc1bd-ea87-465d-b58a-0ed57b15187b@sirena.org.uk> X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Chengming Zhou In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Tue, 21 Nov 2023 07:48:16 -0800 (PST) On 2023/11/21 09:29, Mark Brown wrote: > On Tue, Nov 21, 2023 at 08:58:40AM +0800, Chengming Zhou wrote: >> On 2023/11/21 02:49, Mark Brown wrote: >>> On Thu, Nov 02, 2023 at 03:23:27AM +0000, chengming.zhou@linux.dev wrote: > >>> When we see problems we see RCU stalls while logging in, for example: > >>> [ 46.453323] rcu: INFO: rcu_sched detected stalls on CPUs/tasks: >>> [ 46.459361] rcu: 3-...0: (1 GPs behind) idle=def4/1/0x40000000 softirq=1304/1304 fqs=951 >>> [ 46.467669] rcu: (detected by 0, t=2103 jiffies, g=1161, q=499 ncpus=4) >>> [ 46.474472] Sending NMI from CPU 0 to CPUs 3: > >> IIUC, here should print the backtrace of CPU 3, right? It looks like CPU 3 is the cause, >> but we couldn't see what it's doing from the log. > > AIUI yes, but it looks like we've just completely lost the CPU - there's > more attempts to talk to it visible in the log: > >>> A full log for that run can be seen at: >>> >>> https://validation.linaro.org/scheduler/job/4017095 > > but none of them appear to cause CPU 3 to respond. Note that 32 bit ARM > is just using a regular IPI rather than something that's actually a NMI > so this isn't hugely out of the ordinary, I'd guess it's stuck with > interrupts masked. Ah yes, there is no NMI on ARM, so CPU 3 maybe running somewhere with interrupts disabled. I searched the full log, but still haven't a clue. And there is no any WARNING or BUG related to SLUB in the log. I wonder how to reproduce it locally with a Qemu VM since I don't have the ARM machine. Thanks!