Signed-off-by: Andrew Morton --- 25-akpm/kernel/sched.c | 4 ++++ 1 files changed, 4 insertions(+) diff -puN kernel/sched.c~cputime-introduce-cputime-vs-move-accounting-function-calls-out-of-critical-vm-code-paths kernel/sched.c --- 25/kernel/sched.c~cputime-introduce-cputime-vs-move-accounting-function-calls-out-of-critical-vm-code-paths 2005-01-05 18:44:09.000000000 -0800 +++ 25-akpm/kernel/sched.c 2005-01-05 18:57:12.312315600 -0800 @@ -48,6 +48,8 @@ #include #include #include +#include + #include #include @@ -2388,6 +2390,8 @@ void account_system_time(struct task_str cpustat->iowait = cputime64_add(cpustat->iowait, tmp); else cpustat->idle = cputime64_add(cpustat->idle, tmp); + acct_update_integrals(p); + update_mem_hiwater(p); } /* _