All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@kernel.org>
To: linux-kernel@vger.kernel.org, Thomas Gleixner <tglx@linutronix.de>
Cc: Thomas Gleixner <tglx@linutronix.de>,
	Frederic Weisbecker <frederic@kernel.org>,
	"H . Peter Anvin" <hpa@zytor.com>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	Peter Zijlstra <peterz@infradead.org>
Subject: Re: [PATCH -v2 00/10] timers: Simple cleanup of the timer API namespace
Date: Fri, 18 Apr 2025 09:31:16 +0200	[thread overview]
Message-ID: <aAH_xCECRV75M6ON@gmail.com> (raw)
In-Reply-To: <20250416090544.3311613-1-mingo@kernel.org>


* Ingo Molnar <mingo@kernel.org> wrote:

> [ Changes since -v1:
>    - Exclude the 6 APIs that need further work, keep 9 APIs/symbols
>    - timer_init_on_stack_key() -> timer_init_key_on_stack()
>    - Fixes
>    - Rebase to -rc2
> ]

> Ingo Molnar (10):
>   rust: Rename timer_container_of() to hrtimer_container_of()
>   treewide, timers: Rename from_timer() => timer_container_of()
>   treewide, timers: Rename try_to_del_timer_sync() => timer_delete_sync_try()
>   treewide, timers: Rename destroy_timer_on_stack() => timer_destroy_on_stack()
>   treewide, timers: Rename init_timer_key() => timer_init_key()
>   treewide, timers: Rename init_timer_on_stack_key() => timer_init_key_on_stack()
>   treewide, timers: Rename __init_timer() => __timer_init()
>   treewide, timers: Rename __init_timer_on_stack() => __timer_init_on_stack()
>   treewide, timers: Rename NEXT_TIMER_MAX_DELTA => TIMER_NEXT_MAX_DELTA
>   treewide, timers: Rename init_timers() => timers_init()

>  708 files changed, 997 insertions(+), 997 deletions(-)

Thomas, if these changes are broadly acceptable to you as a first step, 
I'd like to propose the following merge order:

These 7 patches with a low -next cross section could go into 
tip:timer/core the regular way, if they pass review & testing:

  rust: Rename timer_container_of() to hrtimer_container_of()
     5 files changed, 6 insertions(+), 6 deletions(-)

  timers: Rename init_timer_key() => timer_init_key()
     2 files changed, 8 insertions(+), 8 deletions(-)

  timers: Rename init_timer_on_stack_key() => timer_init_key_on_stack()
     2 files changed, 6 insertions(+), 6 deletions(-)

  timers: Rename __init_timer() => __timer_init()
     2 files changed, 4 insertions(+), 4 deletions(-)

  timers: Rename __init_timer_on_stack() => __timer_init_on_stack()
     2 files changed, 4 insertions(+), 4 deletions(-)

  timers: Rename NEXT_TIMER_MAX_DELTA => TIMER_NEXT_MAX_DELTA
     3 files changed, 11 insertions(+), 11 deletions(-)

  timers: Rename init_timers() => timers_init()
     3 files changed, 3 insertions(+), 3 deletions(-)

( Note that I've removed the 'treewide' prefix for these patches, as 
  these really are mostly timer subsystem internal changes. )

The three largest changes, which patches I've already ordered to be at 
the tail of the series in the latest mingo/tip.git/WIP.timers/core 
tree, would go to Linus separately, two days before -rc1 or so, 
assuming everything passes review & testing:

  treewide, timers: Rename try_to_del_timer_sync() => timer_delete_sync_try()
     7 files changed, 17 insertions(+), 17 deletions(-)

  treewide, timers: Rename destroy_timer_on_stack() => timer_destroy_on_stack()
     26 files changed, 35 insertions(+), 35 deletions(-)

  treewide, timers: Rename from_timer() => timer_container_of()
     697 files changed, 923 insertions(+), 923 deletions(-)

In addition to this I'll also work on the timer_start_*() API cleanup & 
restructuring you suggested. Please send me the prelimary cocci script 
you had for this that you mentioned in the previous mail and I'll try 
dusting it all off. (Or I'll write new scripts if you cannot find 
them.)

Thanks,

	Ingo

  parent reply	other threads:[~2025-04-18  7:31 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-16  9:05 [PATCH -v2 00/10] timers: Simple cleanup of the timer API namespace Ingo Molnar
2025-04-16  9:05 ` [PATCH 01/10] rust: Rename timer_container_of() to hrtimer_container_of() Ingo Molnar
2025-04-16 13:29   ` Miguel Ojeda
2025-04-18  7:13     ` Ingo Molnar
2025-04-22 12:08   ` Andreas Hindborg
2025-04-16  9:05 ` [PATCH 02/10] treewide, timers: Rename from_timer() => timer_container_of() Ingo Molnar
2025-04-16  9:05 ` [PATCH 03/10] treewide, timers: Rename try_to_del_timer_sync() => timer_delete_sync_try() Ingo Molnar
2025-04-16  9:05 ` [PATCH 04/10] treewide, timers: Rename destroy_timer_on_stack() => timer_destroy_on_stack() Ingo Molnar
2025-04-16  9:05 ` [PATCH 05/10] treewide, timers: Rename init_timer_key() => timer_init_key() Ingo Molnar
2025-04-16  9:05 ` [PATCH 06/10] treewide, timers: Rename init_timer_on_stack_key() => timer_init_key_on_stack() Ingo Molnar
2025-04-16  9:05 ` [PATCH 07/10] treewide, timers: Rename __init_timer() => __timer_init() Ingo Molnar
2025-04-16  9:05 ` [PATCH 08/10] treewide, timers: Rename __init_timer_on_stack() => __timer_init_on_stack() Ingo Molnar
2025-04-16  9:05 ` [PATCH 09/10] treewide, timers: Rename NEXT_TIMER_MAX_DELTA => TIMER_NEXT_MAX_DELTA Ingo Molnar
2025-04-16  9:05 ` [PATCH 10/10] treewide, timers: Rename init_timers() => timers_init() Ingo Molnar
2025-04-18  7:31 ` Ingo Molnar [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-05-07 17:53 [PATCH -v2 00/10] timers: Simple cleanup of the timer API namespace Ingo Molnar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aAH_xCECRV75M6ON@gmail.com \
    --to=mingo@kernel.org \
    --cc=frederic@kernel.org \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=peterz@infradead.org \
    --cc=tglx@linutronix.de \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.