Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp1545636rdb; Mon, 8 Jan 2024 02:44:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IHl9DTVW3sW2/9i54lLesqC+Bws2uSpSp0zGer+0Vb2JVMKPjh4yneS+Fk8PJwbEP333I+Y X-Received: by 2002:a17:906:f5a7:b0:a28:f6a2:ca80 with SMTP id cm39-20020a170906f5a700b00a28f6a2ca80mr1537092ejd.32.1704710654030; Mon, 08 Jan 2024 02:44:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704710654; cv=none; d=google.com; s=arc-20160816; b=u9ZQBGHKrbIltBBSyb55kFKyWtlfUuoY1ONiFH91RJGZWDq20pzNFUqJnZo0x2+O+z /A3Z7M5VhR5NHa+qlfa6WwlcjENnP+Y/MvIvkt3VDfAGEuIPdqmSKevlQF5ia2+9qp0U Atn4w19A78xfSFQGMrIc3kYtSR0gnx0MGoCHHv2lCfqgwE7sBsfMdSXvXtd8YzXv6jSB hZRzcyhlSCcvDSg0ChR7I8OjScbWSuTetvUWheevLErkCtcQemaGuT3ACxGBNpqle+3g 3B4MvT/Q+HzTpEU52oN2iHcoMH60WjhAJs/urqjnwjsKguRJUkKoC1fkXwhV/NsdITeJ 1z4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-disposition:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:message-id:subject:cc:to:from:date:sender :dkim-signature; bh=BDh4LriLbpQxN+9AdmgvnY/GYm05U679SOANbjEPnSs=; fh=QTFlEnhwiIXVoEhYh3TXGPUKETrnrqbfXVy0KAzKbeY=; b=kuU0Qn2tYKp/ojREcaEKpfI3u0bw7L7if2hHKGlv/Zgx/CgyVZBk9gwIUJGMiGkoJT eKBACNDWypSATl0k40zu+YEtDeTJKkRJggbx9T+ljUELw5JPCKZbZdYxeESR5SLmtP/s ZhFpIV3g8/i2hOyEVk9giT81EA4dgv8vYUzfaNfDXIJVEJhZhNAC2EfqHxto5pyGpbxF S7pGxWFlWGkI7yFQu4PQbB5sVjBBHj4KREYpHANByj214C1jIxmxpoAEMpURYVw6H9WT fwZvxwNe/FhIUCtk6Q6EPiPD5Wti1TpgLlq78SMKAfwZT6pwBavU7kkJCZbI8RfMDoSt WNNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=WpPttL6U; spf=pass (google.com: domain of linux-kernel+bounces-19345-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19345-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id k19-20020a1709063e1300b00a2a224de7b2si1582511eji.667.2024.01.08.02.44.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 02:44:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-19345-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=WpPttL6U; spf=pass (google.com: domain of linux-kernel+bounces-19345-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19345-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 912631F223FA for ; Mon, 8 Jan 2024 10:44:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EC25D13FFC; Mon, 8 Jan 2024 10:44:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="WpPttL6U" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) (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 8A71713FE4 for ; Mon, 8 Jan 2024 10:44:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-40d6b4e2945so21568515e9.0 for ; Mon, 08 Jan 2024 02:44:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704710643; x=1705315443; darn=vger.kernel.org; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :sender:from:to:cc:subject:date:message-id:reply-to; bh=BDh4LriLbpQxN+9AdmgvnY/GYm05U679SOANbjEPnSs=; b=WpPttL6Uc6AZurqCM3IOvApvV0HS6g329wzujueJ3TEdYR9VWXsRNqk1BvqieVwMhB HO6WyxM7gxbzhBnLw7iOiqfPBSjuEnwLvIUxQyQ0Dcrg3M8d1uQEsYqDGqjI2oS1b2aZ /4gMZdvBs7YHkWZ5k1wIPhrTs4wY62gXFaNvf0mSMKUYaqP2GkeTB2VMzG2hE++ua4+N F9XdIlto/72DinTP5ujMok59xC2tNyoUHbxsBkdFW9hlBA2qQ2nzxn5cjGA71JU4gDsF 2JkyMpPtqCpCDKHufbywbMEG9GkxmTMpErtvi6uZCTPevcmMCjQCKdQ4vkRUHHma1YE9 MG+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704710643; x=1705315443; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=BDh4LriLbpQxN+9AdmgvnY/GYm05U679SOANbjEPnSs=; b=KHevw+ODxWpI+44XIIVOyK1plNWRZCM/cF7rdrjhuF71Lp9PREYGE8ylUMXHNl35kd 4VjvIGPW+EZwZnRh+XgGB2/hRATu/mUfMEeugx8pSgFGo08XAJffJEWbUpWKEdMTb2Ab A4YD0rJRO3bvs1ODhbl/0FBeLQesNFbpkxIN3DEfNi4BA7RFArBjDiqfaYLtP4FMKMOG xju0QCSXRkng3HpKzIcKlLwkGNC8YbBB0CCgP06IAZVSt55n9AnCaMq01H5Dkvn9ZNSJ g8mQuiQz86CFhwqzRQiuSfUHbZ/6dwZWBNKhZb2ydTCcPEajQuD732xavHbF+diWTGwy CifA== X-Gm-Message-State: AOJu0Yzgg94r+yvUxpbx8FoB3XuqYbuffIY2aMTUd6xfwyCWKsAa3N4I wzJG0oxpB6mtvpaAeeDYH8g= X-Received: by 2002:a05:600c:a082:b0:40e:448d:2897 with SMTP id jh2-20020a05600ca08200b0040e448d2897mr681349wmb.13.1704710642692; Mon, 08 Jan 2024 02:44:02 -0800 (PST) Received: from gmail.com (1F2EF3FE.nat.pool.telekom.hu. [31.46.243.254]) by smtp.gmail.com with ESMTPSA id h11-20020a5d504b000000b0033739c1da1dsm7442350wrt.67.2024.01.08.02.44.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 02:44:02 -0800 (PST) Sender: Ingo Molnar Date: Mon, 8 Jan 2024 11:44:00 +0100 From: Ingo Molnar To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, Thomas Gleixner , Anna-Maria Behnsen , Peter Zijlstra Subject: [GIT PULL] Timer subsystem changes for v6.8 Message-ID: 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 Linus, Please pull the latest timers/core git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers-core-2024-01-08 # HEAD: da65f29dada7f7cbbf0d6375b88a0316f5f7d6f5 timers: Fix nextevt calculation when no timers are pending Timer subsystem changes for v6.8: - Various preparatory cleanups & enhancements of the timer-wheel code, in preparation for the WIP 'pull timers at expiry' timer migration model series (which will replace the current 'push timers at enqueue' migration model), by Anna-Maria Behnsen: - Update comments and clean up confusing variable names - Add debug check to warn about time travel - Improve/expand timer-wheel tracepoints - Optimize away unnecessary IPIs for deferrable timers - Restructure & clean up next_expiry_recalc() - Clean up forward_timer_base() - Introduce __forward_timer_base() and use it to simplify and micro-optimize get_next_timer_interrupt() - Restructure the get_next_timer_interrupt()'s idle logic for better readability and to enable a minor optimization. - Fix the nextevt calculation when no timers are pending - Fix the sysfs_get_uname() prototype declaration Thanks, Ingo ------------------> Anna-Maria Behnsen (11): tick-sched: Fix function names in comments tick/sched: Cleanup confusing variables tick-sched: Warn when next tick seems to be in the past tracing/timers: Enhance timer_start tracepoint tracing/timers: Add tracepoint for tracking timer base is_idle flag timers: Do not IPI for deferrable timers timers: Move store of next event into __next_timer_interrupt() timers: Clarify check in forward_timer_base() timers: Split out forward timer base functionality timers: Use already existing function for forwarding timer base timers: Fix nextevt calculation when no timers are pending Arnd Bergmann (1): time: Make sysfs_get_uname() function visible in header Thomas Gleixner (1): timers: Rework idle logic include/trace/events/timer.h | 40 +++++++++++---- kernel/time/tick-internal.h | 3 +- kernel/time/tick-sched.c | 25 ++++++---- kernel/time/timer.c | 116 ++++++++++++++++++++++++------------------- 4 files changed, 112 insertions(+), 72 deletions(-)