[PATCH 6.1.y 00/12] timers: Provide timer_shutdown[_sync]()

Jeongjun Park posted 12 patches 2 months, 1 week ago
There is a newer version of this series
Documentation/RCU/Design/Requirements/Requirements.rst      |   2 +-
Documentation/core-api/local_ops.rst                        |   2 +-
Documentation/kernel-hacking/locking.rst                    |  17 ++++---
Documentation/timers/hrtimers.rst                           |   2 +-
Documentation/translations/it_IT/kernel-hacking/locking.rst |  14 +++--
Documentation/translations/zh_CN/core-api/local_ops.rst     |   2 +-
arch/arm/mach-spear/time.c                                  |   8 +--
drivers/bluetooth/hci_qca.c                                 |  10 +++-
drivers/clocksource/arm_arch_timer.c                        |  12 ++---
drivers/clocksource/timer-sp804.c                           |   6 +--
include/linux/timer.h                                       |   2 +
kernel/time/timer.c                                         | 311 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------
12 files changed, 299 insertions(+), 89 deletions(-)
[PATCH 6.1.y 00/12] timers: Provide timer_shutdown[_sync]()
Posted by Jeongjun Park 2 months, 1 week ago
The "timers: Provide timer_shutdown[_sync]()" patch series implemented a
useful feature that addresses various bugs caused by attempts to rearm
shutdown timers.

https://lore.kernel.org/all/20221123201306.823305113@linutronix.de/

However, this patch series was not fully backported to versions prior to
6.2, requiring separate patches for older kernels if these bugs were
encountered.

The biggest problem with this is that even if these bugs were discovered
and patched in the upstream kernel, if the maintainer or author didn't
create a separate backport patch for versions prior to 6.2, the bugs would
remain untouched in older kernels.

Therefore, to reduce the hassle of having to write a separate patch, we
should backport the remaining unbackported commits from the
"timers: Provide timer_shutdown[_sync]()" patch series to versions prior
to 6.2.

---
 Documentation/RCU/Design/Requirements/Requirements.rst      |   2 +-
 Documentation/core-api/local_ops.rst                        |   2 +-
 Documentation/kernel-hacking/locking.rst                    |  17 ++++---
 Documentation/timers/hrtimers.rst                           |   2 +-
 Documentation/translations/it_IT/kernel-hacking/locking.rst |  14 +++--
 Documentation/translations/zh_CN/core-api/local_ops.rst     |   2 +-
 arch/arm/mach-spear/time.c                                  |   8 +--
 drivers/bluetooth/hci_qca.c                                 |  10 +++-
 drivers/clocksource/arm_arch_timer.c                        |  12 ++---
 drivers/clocksource/timer-sp804.c                           |   6 +--
 include/linux/timer.h                                       |   2 +
 kernel/time/timer.c                                         | 311 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------
 12 files changed, 299 insertions(+), 89 deletions(-)
Re: [PATCH 6.1.y 00/12] timers: Provide timer_shutdown[_sync]()
Posted by Greg KH 1 month, 4 weeks ago
On Sat, Oct 11, 2025 at 12:02:40AM +0900, Jeongjun Park wrote:
> The "timers: Provide timer_shutdown[_sync]()" patch series implemented a
> useful feature that addresses various bugs caused by attempts to rearm
> shutdown timers.
> 
> https://lore.kernel.org/all/20221123201306.823305113@linutronix.de/
> 
> However, this patch series was not fully backported to versions prior to
> 6.2, requiring separate patches for older kernels if these bugs were
> encountered.
> 
> The biggest problem with this is that even if these bugs were discovered
> and patched in the upstream kernel, if the maintainer or author didn't
> create a separate backport patch for versions prior to 6.2, the bugs would
> remain untouched in older kernels.
> 
> Therefore, to reduce the hassle of having to write a separate patch, we
> should backport the remaining unbackported commits from the
> "timers: Provide timer_shutdown[_sync]()" patch series to versions prior
> to 6.2.

Thanks for doing this, all now queued up.

greg k-h