[PATCH 0/7] posix-cpu-timers: Bunch of fixes v2

Frederic Weisbecker
2021-06-22T23:42:04Z

This series addresses reviews from Peter. I also updated with appopriate
tags:

_ Add Fixes and Stable tags on the 1st patch

_ Add Acks from Peter on two patches

_ Elaborate comment about base expiration reset on
"posix-cpu-timers: Force next_expiration recalc after timer deletion"
(per Peter)

_ Assert sighand is locked on thread_group_start_cputime()
(per Peter)

_ Factorize fix for all cases where timer doesn't get queued on
posix_cpu_timer_set() (per Peter)

_ More cleanups

git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git
timers/urgent-v2

HEAD: 9cc6f1cc0e96053d709dd05b64ba5796a5b13664

Thanks,
Frederic
---

Frederic Weisbecker (7):
posix-cpu-timers: Fix rearm racing against process tick
posix-cpu-timers: Assert task sighand is locked while starting cputime counter
posix-cpu-timers: Force next_expiration recalc after timer deletion
posix-cpu-timers: Force next expiration recalc after itimer reset
posix-cpu-timers: Remove confusing error code override
posix-cpu-timers: Consolidate timer base accessor
posix-cpu-timers: Recalc next expiration when timer_settime() ends up not queueing

include/linux/posix-timers.h | 11 ++++-
include/linux/sched/signal.h | 6 +++
kernel/signal.c | 13 ++++++
kernel/time/posix-cpu-timers.c | 100 ++++++++++++++++++++++++++++++++---------
4 files changed, 106 insertions(+), 24 deletions(-)