posix-timers: Reduce spinlock contention
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 16 repliesIn review
- v12 patches 5 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | posix-timers: Make next_posix_timer_id an atomic_tinclude/ kernel/ | +6 | 6 replies | |
| 2/4 | posix-timers: Initialise timer->it_id in posix_timer_add()kernel/ | +2 | 3 replies | |
| 3/4 | posix-timers: Initialise timer->it_signal in posix_timer_add()kernel/ | +21 | 3 replies | |
| 4/4 | posix-timers: Use RCU in posix_timer_add()kernel/ | +12 | 4 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH V2 0/4] posix-timers: Reduce spinlock contention
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/[email protected]/
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(-)
Signature · 1 line
2.48.1.601.g30ceb7b040-goog