From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 938E2E784AF for ; Mon, 9 Oct 2023 22:24:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378922AbjJIWYS (ORCPT ); Mon, 9 Oct 2023 18:24:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38568 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378900AbjJIWYM (ORCPT ); Mon, 9 Oct 2023 18:24:12 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A614E9E for ; Mon, 9 Oct 2023 15:24:09 -0700 (PDT) From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1696890248; 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=79g0TJ+WHkogXr+tQyKPTHPS+QTW+I7kx+LuYFFHnW4=; b=rUh1ZfaVz10rjGYuCYvvHYYLgdOyU2hCP2ht6FQ20Fchup4zR3CdHiqV5Si+YlDZRtCjui gcB+whoMqu1/jwPYtNWfFx4YeuL/J6t/yGJHxTtK87jNuPn8Au4dG8VjqkOQ/rf17TmpC8 XJjFDpqgWvKNANuW8r9yDkqq/bW6Chssh6d046oWCTZHyTyDt916UjTDpZpS5IBSeTFpif o2ekKvsVQzI6eLgDsxq6xq406i+4UVpuxXNof/XpIY50gQiqb32q8vEInIXeOFgDqVY4Hy aCf+cfoxj2qbMehYNePA7A9f2wJSAv+/jdq8VbKORsrEjVZ4U6Xf/uHFSu8rFQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1696890248; 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=79g0TJ+WHkogXr+tQyKPTHPS+QTW+I7kx+LuYFFHnW4=; b=S6LqOzplVH9A+RxCfYTgWz/pD/zswwWJX2VJ/bnZLN9F3l+lxC/+HnBLlDwtxpLISiB/Le drtl0dKIK8MV6VBg== To: Frederic Weisbecker , Anna-Maria Behnsen Cc: linux-kernel@vger.kernel.org, Peter Zijlstra , John Stultz , Eric Dumazet , "Rafael J . Wysocki" , Arjan van de Ven , "Paul E . McKenney" , Rik van Riel , Steven Rostedt , Sebastian Siewior , Giovanni Gherdovich , Lukasz Luba , "Gautham R . Shenoy" , Srinivas Pandruvada , K Prateek Nayak Subject: Re: [PATCH v8 09/25] timer: Split out get next timer functionality In-Reply-To: References: <20231004123454.15691-1-anna-maria@linutronix.de> <20231004123454.15691-10-anna-maria@linutronix.de> Date: Tue, 10 Oct 2023 00:24:07 +0200 Message-ID: <87zg0ro2ns.ffs@tglx> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 09 2023 at 23:15, Frederic Weisbecker wrote: > Le Wed, Oct 04, 2023 at 02:34:38PM +0200, Anna-Maria Behnsen a =C3=A9crit= : >>=20=20 >> + expires =3D basem + (u64)(nextevt - basej) * TICK_NSEC; > > Does that compute KTIME_MAX when there is no timers pending? Probably not :)