cputime: introduce cputime.
Quoted 5 lines · Andrew Morton
Quoted 4 lines · Martin Schwidefsky
Quoted 3 lines
- kernel threads may have null
p->signal
- remove some deoptimising inlines
Quoted 7 lines
Quoted 1 line
Does it work with these two changes ?
Well it doesn't crash ;)
It compiles OK on a bunch of architectures, bloats the kernel by 2k and various system monitoring tools emit sensible-looking numbers. What should I be looking for?
2K sounds definitely wrong. Martin's patch should be ideally a nop for architectures that use asm-generic/cputime.h
-Andi