Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp1400627lql; Tue, 12 Mar 2024 16:48:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXg2JQKohPLXeAi3qP7cgXJA5+FU0JdEraXobj9PXgvfn2mCBva6H6sg7umC1iKTan7mSkDnHOVoxBIrpityw66L8jnMm67P7S8wY0WvA== X-Google-Smtp-Source: AGHT+IGlI8P+TEkWuakwZnsaBkm0Fv4/Z5zOZYUYTsfG431O333cg/YpB8ly96dFHeKAOJSOtae/ X-Received: by 2002:a50:f617:0:b0:568:3551:5904 with SMTP id c23-20020a50f617000000b0056835515904mr2238529edn.30.1710287313176; Tue, 12 Mar 2024 16:48:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710287313; cv=pass; d=google.com; s=arc-20160816; b=So05w75ZmaDKYf2N0iIRMtidVoudzuAY/u9e6/u9cwN5qn6fKFEJYbaXnMq9vG/lxr MGXwjBtRvntfoYKxPf6rTKOWXryPCR9d8Vr7O/+WLi4/rIv60sabNEDRR6RY/UiFrs7K Ce+uHaoBUrBu74vR+CSZUJZgU53p2aTSEA6CkWbLD3JQprh0zXxb8q6f8Vn4C3NGYcJM VEHw5CYl82fZR1oOc+foARTmdqOtP6zhaobraT8L+CyTwFoK14b2Mi16JWpguHS1diwW KyEK40UODrR3ameYUsVbsum+ZFL/LOJ2Gz1GlYHt1oSs+aBzAbAEhWljNrVqApiHnWtA 05vA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:feedback-id:dkim-signature; bh=dfLW9yYjxs0j0SPl+Eh0U8ksmTIet5mzavdLeQI0/cI=; fh=MCBwCFNLJRtvbH3mLuLrtXFVxBAb81rxKo2cbTNu/UU=; b=K8erzyeQy4SnbaciHmieqHrmZrQ3uLU4G9Q3DdjqWFZdF5m9BZ0XfAiLqksDP3mzSd 8p2JhDKCmuW1xdKWJetTwSxe9kkrrPTfecMRF2ZwuiqxrJawPdimFB1Ji/GBlrlc4iOx OfS2QyE3Lj0EOn+WK+SsKxIT9kNBdh6C++j57UBGSUAUYMjGHy+QaGBzK/5KR8kuFGOh hNZZ2ki1m+i2t1d/eXGM+MNfB4IBtnQshLx1meaPo5t7cpicw9LkbKsTkV48whfLpsmw O4qH2Ls2q0qegNO3xcpEQ8JuWv7AuMH93UZInyRBn8g32GarNa+ptYjJDaS3TdgiCTND QZFg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=OEJLD5bY; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-100929-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-100929-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id v13-20020a056402184d00b005649ddfe7ddsi4017421edy.554.2024.03.12.16.48.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Mar 2024 16:48:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-100929-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=OEJLD5bY; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-100929-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-100929-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id B8D5C1F2266E for ; Tue, 12 Mar 2024 23:48:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DBE52481AB; Tue, 12 Mar 2024 23:48:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="OEJLD5bY" Received: from mail-yw1-f172.google.com (mail-yw1-f172.google.com [209.85.128.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8855427456; Tue, 12 Mar 2024 23:48:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710287304; cv=none; b=XWXr8k0ejoSt3A+c41d9Dh9A/llyiTm7bpbqcTMSxPtpYjAXluedBbQyxOxl6sBp5DQIW+SEo7Yeqt3g2t1hBogHMucDxqCYGa6JvpJEsVhvRc5KeY92ObIuUcKQ78q3HhTs0X5DwOh8nnwgIbLqF1hLrGgqAXUEckFg5JqMswE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710287304; c=relaxed/simple; bh=mFqngeDFdujHoCNS5OxiCIBb8sQL6MyLaTdipFn0kxA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=pIILnU8ZJ/bbD6INYFD22UIiuCm6ORftC0dQFhbe/V0/LnCAWOoXWf5KZEzZYRO3ayeD7hZy2lYYhw/78hie2EU6Q2mRDh0GREHoSm7MWRy4Yd+g1qNl0WxdFbWFceovUkuJLDnA5UPRoxa1IzKGf+fB+R81Bx1Mr/xkwC+07ew= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=OEJLD5bY; arc=none smtp.client-ip=209.85.128.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-yw1-f172.google.com with SMTP id 00721157ae682-60a15449303so35507867b3.0; Tue, 12 Mar 2024 16:48:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710287301; x=1710892101; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:feedback-id:from:to:cc:subject:date :message-id:reply-to; bh=dfLW9yYjxs0j0SPl+Eh0U8ksmTIet5mzavdLeQI0/cI=; b=OEJLD5bY+sUlN1TDjsBChlG4gAJKyJVXxcL3PBBQrhWILCkeBMnjBb2SxJ7I+Yonco NVerF6jPYSHC1xusPzoEIJdph7rQJia90GSosgrIXQI6VsemKqIFvvEJvbQyrUKZlR8U L5O2h3whrZymD3MiFUhxpisNBL+RIYQFTKBpQCoWCiXkWDh7xPKxvoA68YnFeLG++Q/l xbTRiRybhJ6dLdw+W9KgcFy/JYF8jzL763Z6QP4tzpyulzwfxlsDIzFH9WUIOozIKAjv 27VwLjpPxGGl31FFcPYX7VT1HgktC6xel19St2QFtahDaOEMNeQ1ZXmBcDYh8KHGPIOs kHfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710287301; x=1710892101; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:feedback-id:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dfLW9yYjxs0j0SPl+Eh0U8ksmTIet5mzavdLeQI0/cI=; b=Y7Txnr5P23DB03Mgc78z4HwhafpYJXrUYGqTwnN9vE4tf9kJ3ApYgCPpr0gDMn3HPo yYYNZtz3OxMK3FJth6FDT6zbhKiwXZKuilYgxxPl2MI5rCv2FJmrZFrbNSMZQL1QmqDX jN7WEubjrtbL3dD7e53a5z9wNvoXmOt5CWNiRrZr1W4fOZvEu6ZIqfTpFa073kn3D3PG EV2lcXoy8HZreUa+d1UQ3+hjdt7UseMvur13hq4hX4qMiqJ4mhaxzKIW57IT8LxkVaIe qtbmcRsMZYPMRjgTxiaGt1Ajm0+ASxwgQiPXX6tp2/2YggNy5xDmcjRpoIAbu/SAW2aU lUEQ== X-Forwarded-Encrypted: i=1; AJvYcCVHXM+nSceX4rcLLuqWd6/11zlKjEH82jbeAac/dnzjKzp9sin1QvejZop7xSp52OeYxNozsXcfaGaeHAsiTjKIK/Cj9BEo064QobxBjJ2ueyTA95kqRfNFX5b0nVzDq3ih X-Gm-Message-State: AOJu0Yz3IpOanphnGC6y1gpXgiu49/VZIA0X2esFtkBJzopWmKLCnsji 34TJKDB25BBRKw+naGHltXVIrrUOilhmU0CqdDYb/27PwhAtpAyj X-Received: by 2002:a0d:dc01:0:b0:609:f1c8:a61 with SMTP id f1-20020a0ddc01000000b00609f1c80a61mr1012892ywe.33.1710287301384; Tue, 12 Mar 2024 16:48:21 -0700 (PDT) Received: from fauth2-smtp.messagingengine.com (fauth2-smtp.messagingengine.com. [103.168.172.201]) by smtp.gmail.com with ESMTPSA id q11-20020ac8450b000000b004308e46e815sm164553qtn.67.2024.03.12.16.48.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Mar 2024 16:48:20 -0700 (PDT) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailfauth.nyi.internal (Postfix) with ESMTP id 3C69B1200043; Tue, 12 Mar 2024 19:48:20 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Tue, 12 Mar 2024 19:48:20 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrjeeggddugecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvvefukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpeeuohhquhhn ucfhvghnghcuoegsohhquhhnrdhfvghnghesghhmrghilhdrtghomheqnecuggftrfgrth htvghrnhepffdtiefhieegtddvueeuffeiteevtdegjeeuhffhgfdugfefgefgfedtieeg hedvnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegsohhquhhnodhmvghsmhhtphgruhhthhhp vghrshhonhgrlhhithihqdeiledvgeehtdeigedqudejjeekheehhedvqdgsohhquhhnrd hfvghngheppehgmhgrihhlrdgtohhmsehfihigmhgvrdhnrghmvg X-ME-Proxy: Feedback-ID: iad51458e:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 12 Mar 2024 19:48:18 -0400 (EDT) Date: Tue, 12 Mar 2024 16:48:05 -0700 From: Boqun Feng To: Linus Torvalds Cc: Florian Fainelli , linux-kernel@vger.kernel.org, kernel-team@meta.com, paulmck@kernel.org, mingo@kernel.org, tglx@linutronix.de, rcu@vger.kernel.org, joel@joelfernandes.org, neeraj.upadhyay@amd.com, urezki@gmail.com, qiang.zhang1211@gmail.com, frederic@kernel.org, bigeasy@linutronix.de, anna-maria@linutronix.de, chenzhongjin@huawei.com, yangjihong1@huawei.com, rostedt@goodmis.org Subject: Re: Unexplained long boot delays [Was Re: [GIT PULL] RCU changes for v6.9] Message-ID: References: <4274be61-60bd-4e1e-9c16-26e6e5e06f65@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Tue, Mar 12, 2024 at 02:44:14PM -0700, Linus Torvalds wrote: > On Tue, 12 Mar 2024 at 14:34, Florian Fainelli wrote: > > > > and here is a log where this fails: > > > > https://gist.github.com/ffainelli/ed08a2b3e853f59343786ebd20364fc8 > > You could try the 'initcall_debug' kernel command line. > Right, that'll be helpful. Besides I took a look at the config Florian shared, no TASKS_RCU, RCU_LAZY or RCU nocb is enabled. So probably the only left changes in the PR are around RCU expedited. Florian, could you see if you can build and test with CONFIG_PROVE_RCU=y (you need to select CONFIG_PROVE_LOCKING for that)? That'll call synchronize_rcu() + synchronize_rcu_expedited() before and after we switch rcu_scheduler_active, and it may provide more information. Thanks! Regards, Boqun > It will make the above *much* noisier, but it might - thanks to all > the new noise - show exactly *what* is being crazy slow to initialize. > > Because right now it's just radio silence in between those > > [ 1.926435] bcmgenet f0480000.ethernet: GENET 5.0 EPHY: 0x0000 > [ 162.148135] unimac-mdio unimac-mdio.0: Broadcom UniMAC MDIO bus > > things, and that's presumably because some random initcall there just > takes forever to time out. > > Linus