From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 C57CF2765D7 for ; Fri, 3 Apr 2026 22:21:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=90.155.92.199 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775254914; cv=none; b=EIlPwht2HP5FIds9zg9gwNqvPJ0/DL0Nd99pKwPbyqeOXiu+efJ1r5kCo6QmA0O0GIG3Wen/Ha6bXOWin5BWE0d6uk/CNLp5xYeoQ90GL2y4RvJGZjjkqYJG6PqRjSyTYpplQOt545E32pwJbkD34MvTftFWQ5Ev4e+b15hz3Os= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775254914; c=relaxed/simple; bh=X/Efz26yLrkXJdJ2IgiQPbaEW0KNTzLmATvl9139ncY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=cRKzuorzrkPZObfsqY2O+KnvfBPPXtQKGPSaWiPyEJfoK+xYv1r1XEhxTywnXZ1TG9/u7sKZeROkaQ83XgUATb48dVoCh5/UYrQMM4Llq/yiGR10GNJJuzkeDKs3L0BkrZ1bxjXQyPjWYmnbfTG+h1IWzHWD2oxysBuw/6hgHks= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=hwkVc1Bm; arc=none smtp.client-ip=90.155.92.199 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="hwkVc1Bm" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=/IwQORDrP+0DY7OGq1wcFZGeKMXq1WnjXrxYK5dCFWw=; b=hwkVc1BmpipcAn6RA825idRCDI K1+HmFNjRURwuDAlUC/scQ4jwgFG3MCC9Kz4NNaye/bx1BeB/Z1WmxLqNQpcsdn9hiCRi/0faHp4E CP7msvDnYr5JDFTVSUHcjL03ZbfITiBZaVWT3AlY/pxU2Fn72iuTzivzEyNLc7ki9b7Zvm4wKZOHs Eub0evWchlMAaaeRB2UvWteMNPGuNwjjF1JBtEs+6hjyfa1tLZdLCINlML4kY9fZFmvXxI2ccAOB2 5TFnQM4RrsjL/0yMQeDUsBzWAx8m4STotuNfTgBB7708vfb7qJNDcXg6RLI0Jw7xi8vHo3JBaR9Ia uS/6RaKg==; Received: from 2001-1c00-8d85-4b00-266e-96ff-fe07-7dcc.cable.dynamic.v6.ziggo.nl ([2001:1c00:8d85:4b00:266e:96ff:fe07:7dcc] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.98.2 #2 (Red Hat Linux)) id 1w8mtH-00000004nPF-3SHL; Fri, 03 Apr 2026 22:21:24 +0000 Received: by noisy.programming.kicks-ass.net (Postfix, from userid 1000) id C10C3302D3E; Sat, 04 Apr 2026 00:21:21 +0200 (CEST) Date: Sat, 4 Apr 2026 00:21:21 +0200 From: Peter Zijlstra To: Thomas Gleixner Cc: Borislav Petkov , Calvin Owens , Petr Mladek , linux-kernel@vger.kernel.org, arighi@nvidia.com, yaozhenguo1@gmail.com, tj@kernel.org, feng.tang@linux.alibaba.com, lirongqing@baidu.com, realwujing@gmail.com, hu.shengming@zte.com.cn, dianders@chromium.org, joel.granados@kernel.org, Ingo Molnar , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , Valentin Schneider , Frederic Weisbecker , Anna-Maria Behnsen , x86@kernel.org Subject: Re: [PATCH] clockevents: Prevent timer interrupt starvation Message-ID: <20260403222121.GI2872@noisy.programming.kicks-ass.net> References: <87v7ejetl1.ffs@tglx> <875x6a913n.ffs@tglx> <20260401163435.GGac1JG42tWmsCKL37@fat_crate.local> <87jyup70ka.ffs@tglx> <20260403121648.GZ3738010@noisy.programming.kicks-ass.net> <87341c6mt0.ffs@tglx> <20260403210145.GD2872@noisy.programming.kicks-ass.net> <87wlyn68lg.ffs@tglx> <87pl4f66ac.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; charset=us-ascii Content-Disposition: inline In-Reply-To: <87pl4f66ac.ffs@tglx> On Sat, Apr 04, 2026 at 12:14:03AM +0200, Thomas Gleixner wrote: > On Fri, Apr 03 2026 at 23:24, Thomas Gleixner wrote: > > > On Fri, Apr 03 2026 at 23:01, Peter Zijlstra wrote: > >> On Fri, Apr 03, 2026 at 06:17:15PM +0200, Thomas Gleixner wrote: > >> > >> Doesn't that want to be something like this instead? > > > > Duh. Yes. I'm clearly not seeing the forest for the trees anymore. > > But thinking more about it. That's a stretch for backporting. Yeah, that cocci patch results in quite a large actual patch :-) > So I rather stay with the current approach and do the cleanup on top, > which then also should obviously do > > dev->next_event = KTIME_MAX; > > and remove it from the handlers, no? Works for me.