posix-cpu-timers: Bunch of fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 17 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | posix-cpu-timers: Fix rearm racing against process tickkernel/ | +5 | 3 replies | |
| 2/6 | posix-cpu-timers: Don't start process wide cputime counter if timer is disabledkernel/ | +8 | 6 replies | |
| 3/6 | posix-cpu-timers: Force next_expiration recalc after timer deletioninclude/ kernel/ | +31 | 1 reply | |
| 4/6 | posix-cpu-timers: Force next_expiration recalc after timer resetkernel/ | +13 | 3 replies | |
| 5/6 | posix-cpu-timers: Force next expiration recalc after early timer firinginclude/ kernel/ | +43 | 4 replies | |
| 6/6 | posix-cpu-timers: Force next expiration recalc after itimer resetkernel/ | +0 | 0 replies |
Reviews trailers per patch
2 of 6 patches have a Reviewed-by or Acked-by.
| Patch | Peter Zijlstra (Intel) |
|---|---|
| 1/6 | A-b |
| 2/6 | |
| 3/6 | A-b |
| 4/6 | |
| 5/6 | |
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/6] posix-cpu-timers: Bunch of fixes
The first is a race due to locklessly starting process wide cputime counting.
The others stop the process wide cputime counting and tick dependency when they are not necessary anymore.
Note I don't really like patch 5/6 and in fact I hope we could manage to remove this early inline cpu_timer_fire() call from timer_settime(). All we get from it is headaches. Besides, the handler isn't invoked from the actual target and that doesn't sound ideal.
git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git
timers/urgent
HEAD: f8f908c9d2b2f1e100cd549206c95a4e65e5f023
Thanks,
Frederic
---
Frederic Weisbecker (6):
posix-cpu-timers: Fix rearm racing against process tick
posix-cpu-timers: Don't start process wide cputime counter if timer is disabled
posix-cpu-timers: Force next_expiration recalc after timer deletion
posix-cpu-timers: Force next_expiration recalc after timer reset
posix-cpu-timers: Force next expiration recalc after early timer firing
posix-cpu-timers: Force next expiration recalc after itimer reset
include/linux/posix-timers.h | 11 ++++- kernel/time/posix-cpu-timers.c | 97 +++++++++++++++++++++++++++++++++--------- 2 files changed, 87 insertions(+), 21 deletions(-)