diff options
| author | Frederic Weisbecker <[email protected]> | 2017-01-31 03:09:19 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2017-02-01 08:13:47 +0000 |
| commit | 7fb1327ee9b92fca27662f9b9d60c7c3376d6c69 (patch) | |
| tree | 7a75b34cf7db3d04a6e70b7f78c0b886ab45074a /fs/proc/array.c | |
| parent | sched/cputime: Remove the unused INIT_CPUTIME macro (diff) | |
| download | kernel-7fb1327ee9b92fca27662f9b9d60c7c3376d6c69.tar.gz kernel-7fb1327ee9b92fca27662f9b9d60c7c3376d6c69.zip | |
sched/cputime: Convert kcpustat to nsecs
Kernel CPU stats are stored in cputime_t which is an architecture
defined type, and hence a bit opaque and requiring accessors and mutators
for any operation.
Converting them to nsecs simplifies the code and is one step toward
the removal of cputime_t in the core code.
Signed-off-by: Frederic Weisbecker <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Michael Ellerman <[email protected]>
Cc: Heiko Carstens <[email protected]>
Cc: Martin Schwidefsky <[email protected]>
Cc: Tony Luck <[email protected]>
Cc: Fenghua Yu <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Rik van Riel <[email protected]>
Cc: Stanislaw Gruszka <[email protected]>
Cc: Wanpeng Li <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
