Skip to content

-mm generic clocksoure API

[email protected] lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10-mm clocksource: increase initcall priorityarch/i386/kernel/hpet.c arch/i386/kernel/i8253.c arch/i386/kernel/tsc.c +5 more+8 -211 reply
2/10-mm clocksource: small cleanupinclude/linux/clocksource.h kernel/time/clocksource.c kernel/timer.c+8 -71 reply
3/10-mm clocksource: enable plistinit/Kconfig lib/Kconfig lib/Makefile+1 -90 replies
4/10-mm clocksource: add some new API callsarch/i386/kernel/tsc.c include/linux/clocksource.h kernel/time/clocksource.c+139 -573 replies
5/10-mm clocksource: convert generic timeofdayinclude/linux/clocksource.h kernel/time/clocksource.c kernel/timer.c+164 -1830 replies
6/10-mm clocksource: add block notifierinclude/linux/clocksource.h kernel/time/clocksource.c kernel/timer.c+39 -10 replies
7/10-mm clocksource: remove update_callbackarch/i386/kernel/tsc.c include/linux/clocksource.h+3 -41 reply
8/10-mm clocksource: cleanup on -mminclude/linux/clocksource.h kernel/time/clocksource.c kernel/timer.c+91 -834 replies
9/10-mm clocksource: initialize list valuearch/i386/kernel/hpet.c arch/i386/kernel/i8253.c arch/i386/kernel/tsc.c +4 more+9 -00 replies
10/10-mm clocksource: add generic sched_clock()arch/i386/Kconfig arch/i386/kernel/tsc.c kernel/sched.c+66 -610 replies

Reviews trailers per patch

1 of 10 patches has a Reviewed-by or Acked-by.

PatchJohn Stultz
1/10
2/10A-b
3/10
4/10
5/10
6/10
7/10
8/10
9/10
10/10

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/10] -mm generic clocksoure API

This patch set is meant to modify the clocksource structure and API so that it can be used by more than just the timekeeping code. My motivation is mainly that I feel the current clocksource interface could be used for much more than just timekeeping. So if we keep the clocksource interface (which I think we should) then we should get everything out of it that we can.

This set modifies the API, then converts the time keeping code over to the new API. I also added a generic sched_clock() which just re-uses the clocksource interface to provide a high quality scheduling clock (assuming a good clocksource). Several ARM board just output nanoseconds based on jiffies which is still possible with the generic sched_clock().

I tested this on SMP and UP x86, and compile tested for ARM.

Daniel

--