Skip to content

RFC posix_cpu_timers: Some code consolidation

Frederic Weisbecker lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3posix_cpu_timer: Consolidate expiry time typeinclude/linux/posix-timers.h kernel/posix-cpu-timers.c+115 -1640 replies
2/3posix_cpu_timers: Consolidate timer list cleanupskernel/posix-cpu-timers.c+19 -290 replies
3/3posix_cpu_timers: Consolidate expired timers checkkernel/posix-cpu-timers.c+33 -850 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/3] posix_cpu_timers: Some code consolidation

Hi,

Some interesting consolidation comes when we unify the expiry time type.

I'm also wondering: can't we implement CPUCLOCK_PROF using CPUCLOCK_SCHED? One is using the tick, the other is using the sched. But they both seem to account the same thing: utime + stime.

Thanks.

Frederic Weisbecker (3):
posix_cpu_timers: Consolidate expiry time type
posix_cpu_timers: Consolidate timer list cleanups
posix_cpu_timers: Consolidate expired timers check

 include/linux/posix-timers.h |   16 ++-
 kernel/posix-cpu-timers.c    |  387 +++++++++++++++---------------------------
 2 files changed, 146 insertions(+), 257 deletions(-)
Signature · 1 line
1.7.5.4