[PATCH V2 0/4] posix-timers: Reduce spinlock contention

Eric Dumazet posted 4 patches 10 months ago
include/linux/sched/signal.h |  2 +-
kernel/time/posix-timers.c   | 54 ++++++++++++++++++++++++++----------
2 files changed, 41 insertions(+), 15 deletions(-)
[PATCH V2 0/4] posix-timers: Reduce spinlock contention
Posted by Eric Dumazet 10 months ago
We had incidents involving gazillions of concurrent posix timers.

In this series, I am reducing hash_lock contention in posix_timer_add(),
and fix a possible race.

v2: Initialize timer->it_id and timer->it_signal to non zero values
v1: https://lore.kernel.org/lkml/20250214135911.2037402-1-edumazet@google.com/

Eric Dumazet (4):
  posix-timers: Make next_posix_timer_id an atomic_t
  posix-timers: Initialise timer->it_id in posix_timer_add()
  posix-timers: Initialise timer->it_signal in posix_timer_add()
  posix-timers: Use RCU in posix_timer_add()

 include/linux/sched/signal.h |  2 +-
 kernel/time/posix-timers.c   | 54 ++++++++++++++++++++++++++----------
 2 files changed, 41 insertions(+), 15 deletions(-)

-- 
2.48.1.601.g30ceb7b040-goog