From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 A0F6C14EC73 for ; Mon, 2 Feb 2026 14:05:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770041119; cv=none; b=OO1A8RoEHjx683wbweKBqH1tYg84TYUwwq7X0Sli7/JcrQSH/Vs/7w1YMM/h72dFpUM6PM8caNtuabAyEqCAUBvVbf6Jf4P600Clsm/TXx/Tq8Bi6Ev3fmZu0ApcDz/C8b5A/hX3hVNKVQGL51ZH1fxrKZyy8eLkX0Bf1kK2nN0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770041119; c=relaxed/simple; bh=uqO7vH+BZYFPvdp2GpRxb7FwNI0sQDuedASrOaF+9tk=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=ADdK+g899/Dto9LzA+iLO/iw98Fh/gldwQBKYWpKmNrzKTiftxRgwZFQ8YjXnhRponaefZ2EWLTOWpjmgZyeU1sZl3PIxR971FaXqaxadT7q/VYFhNq8BonDaDb9IGzmF9JKITjjB8i4UgTmFgRR5LVQdT85L7IdKxWpwd0oOfo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=HIxtXRbt; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=r1F2pNot; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="HIxtXRbt"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="r1F2pNot" From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1770041115; 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=LFLMPWL06z3+M/q0oNCKryfiaGq3GYSefpJNxz2+iXg=; b=HIxtXRbtszUiSJmraOdssmiqhRANptwobe9R6MHSkBlUoiEvePxLsQUdfbGo7EHkMjoT2V AJ3b+vB0rmHMV/r9iWeejPMrj81jXU4mV3VkPWBPr1AzzEsiks4JORrev69g365uTaeUku VnP6jQ3RDQtyO3PH2t/C57fp0zbXt4h2I+r1b1Ksuxek4btUlP8gtY9oJmd2A1fmSb3jea MuQpIlVO3Asu7d3LLdIt1V7BmLjvh/y4honMYzXQx5enh2oaKru/61S42lz3WaYXfFvVTL 2lVLYuaKpt/NGlljGcYxXNdZ+ZxXyEmfNAZWMY55VaLL3+k91nrwRlkk3U1CFg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1770041115; 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=LFLMPWL06z3+M/q0oNCKryfiaGq3GYSefpJNxz2+iXg=; b=r1F2pNotaxDv9CEts963h3OQnoKbC8p1QQD4A2lGZhrFj7VXmFxeOgS7DpLYeVAKwZYwYE YhhaGS5Bg4LnblAA== To: Peter Zijlstra Cc: arnd@arndb.de, anna-maria@linutronix.de, frederic@kernel.org, peterz@infradead.org, luto@kernel.org, mingo@redhat.com, juri.lelli@redhat.com, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, rostedt@goodmis.org, bsegall@google.com, mgorman@suse.de, vschneid@redhat.com, linux-kernel@vger.kernel.org, oliver.sang@intel.com Subject: Re: [PATCH v2 4/6] hrtimer: Re-arrange hrtimer_interrupt() In-Reply-To: <20260121162507.877520597@infradead.org> References: <20260121162010.647043073@infradead.org> <20260121162507.877520597@infradead.org> Date: Mon, 02 Feb 2026 15:05:14 +0100 Message-ID: <87bji7fdgl.ffs@tglx> 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 Wed, Jan 21 2026 at 17:20, Peter Zijlstra wrote: > Rework hrtimer_interrupt() such that reprogramming is split out into > an independent function at the end of the interrupt. > > This prepares for reprogramming getting delayed beyond the end of > hrtimer_interrupt(). > > Notably, this changes the hang handling to always wait 100ms instead > of trying to keep it proportional to the actual delay. This simplifies > the state, also this really shouldn't be happening. Indeed. > /* > + * Very similar to hrtimer_force_reprogram(), except it deals with > + * in_hrirq and hang_detected. in_hrtirq Reviewed-by: Thomas Gleixner