context_tracking: prerequisites for ARM support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 15 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | context tracking: conditionalize guest support based on CONFIG_KVMkernel/ | +4 | 5 replies | |
| 2/5 | kernel_cpustat: convert to atomic 64-bit accessorsfs/ fs/ include/ +2 more | +46 | 6 replies | |
| 3/5 | virt CPU accounting: Kconfig: drop 64-bit requirmentinit/ | +1 | 0 replies | |
| 4/5 | cputime: use do_div() for nsec resolution conversion helpersinclude/ | +37 | 4 replies | |
| 5/5 | ARM: Kconfig: allow virt CPU accountingarch/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC/PATCH 0/5] context_tracking: prerequisites for ARM support
Frederic,
Here is a first pass at some changes needed in order to add ARM support.
I have another series coming that instruments the syscalls, exceptions etc. on ARM also, but this one is just to get some prerequisites out for broader discussion.
This series applies on top of your 3.8-rc6-nohz4 branch, and is also available here:
git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux.git wip/arm-nohz/prereq
I'm aware of the >80 column warnings from checkpatch on the atomic64 conversion patch, but wanted to get some feedback on this approach before fixing all those up. Maybe some simpler wrappers in kernel_stat.h would make this a bit cleaner?
Kevin
Kevin Hilman (5):
context tracking: conditionalize guest support based on CONFIG_KVM
kernel_cpustat: convert to atomic 64-bit accessors
virt CPU accounting: Kconfig: drop 64-bit requirment
cputime: use do_div() for nsec resolution conversion helpers
ARM: Kconfig: allow virt CPU accounting
arch/arm/Kconfig | 1 + fs/proc/stat.c | 36 +++++++++++++------------- fs/proc/uptime.c | 2 +- include/asm-generic/cputime_nsecs.h | 51 +++++++++++++++++++++++++++---------- include/linux/kernel_stat.h | 2 +- init/Kconfig | 2 +- kernel/context_tracking.c | 4 +++ kernel/sched/core.c | 10 ++++---- kernel/sched/cputime.c | 24 ++++++++--------- 9 files changed, 80 insertions(+), 52 deletions(-)
Signature · 1 line
1.8.1.2