From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E13BD36C5B2 for ; Tue, 16 Jun 2026 14:18:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781619527; cv=none; b=Et3T8RbOTCO4ZV3emw7lQbhoQdJL1OASkCyGGl4I2N6u99rzcMMqu2EnYjEofOpakchGRi4LEDSzoc/fdFPX5jTSpmYgR0FUo+AOjd3WJlBfdUdvU7goPnE3T35oVJfK2h2yHbMBJas9j8iR/+jBVGQD66Na5i+gVF3NAfXEjD0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781619527; c=relaxed/simple; bh=NMjWdTLuMBpNYjXMGYScwdDv0wod0lFQEKOd4g50mEk=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=ZmRb8PJgBYEeks3NidtOdGlQDHXRtx9x+nv22VLhJ2kBYon49G0x4iHylbQgQsSBT875o2PVbSc67mXrytcYVdkBEYLSZNS+pPbJNmSTndxFNQBrJO5GiDv4tKBF7iowWGmp69er8D/UaJlnJvquwIdGw6dc8YBRyPwE/tj9IWU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=m0xHaZ/9; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="m0xHaZ/9" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DCC8C1F00A3A; Tue, 16 Jun 2026 14:18:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1781619526; bh=PC98Gy3DwI8en3+MXbJ7C3tJxrzpabbR0HVHJIamUss=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=m0xHaZ/9TOh8UPIBQ8aXgZM0ypC0Ou6rbSXniiFqdSqikeC1NZKFohkXxX5EUllY1 CtiwEXupF7KVBIG/oL3OoAoSEMvC1vfniZkQfH5O3aSg4GlcffKibwHEN9Z7+lFe4b IQFTRPfhJTcOXbiXQuDp+XP7o/N6FfFVwXNjINu1m6KB/9uDVaRv9cUml6Jr6RS0We 3PFic1ZSzAGUktYhGoL7GYeApY+pqw0bYoZ+5QTo0iYzbXDsjqYuWmmofr5wV/QLCD wWYgPdMHA8o4AeXAEeuo7j/0iPGpsIJDjaQlzklIPMDrbHtkep2gax6frCtDaxVQpb puG7HaYO1uNOA== From: Thomas Gleixner To: Oleg Nesterov Cc: Linus Torvalds , linux-kernel@vger.kernel.org, x86@kernel.org Subject: Re: [GIT pull] timers/core for v7.2-rc1 In-Reply-To: References: <178137555902.445890.9588113013654487803.tglx@fw13> <178137556644.445890.6379164368087565389.tglx@fw13> Date: Tue, 16 Jun 2026 16:18:43 +0200 Message-ID: <875x3i36ws.ffs@fw13> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain On Mon, Jun 15 2026 at 15:35, Oleg Nesterov wrote: >> struct clocksource * __init __weak clocksource_default_clock(void) >> { >> + if (!cs_jiffies_registered) { >> + __clocksource_register(&clocksource_jiffies); >> + cs_jiffies_registered = true; >> + } >> return &clocksource_jiffies; >> } > > It seems that this change is problematic... > > timekeeping_init() does > > guard(raw_spinlock_irqsave)(&tk_core.lock); > > clock = clocksource_default_clock(); > > and __clocksource_register() -> __clocksource_register_scale() takes > clocksource_mutex. Dammit. I missed to enable lockdep. The sleep while atomic muck does not catch it because it's early boot. Someone sent a patch already. I'll get the fix to Linus ASAP. Thanks, tglx