kernel-hacking-2024-linux-s.../fs/proc
Christian Borntraeger efe567fc82 sched: accounting regression since rc1
Fix the accounting regression for CONFIG_VIRT_CPU_ACCOUNTING.  It
reverts parts of commit b27f03d4bd by
converting fs/proc/array.c back to cputime_t.  The new functions
task_utime and task_stime now return cputime_t instead of clock_t.  If
CONFIG_VIRT_CPU_ACCOUTING is set, task->utime and task->stime are
returned directly instead of using sum_exec_runtime.

Patch is tested on s390x with and without VIRT_CPU_ACCOUTING as well as
on i386.

[ mingo@elte.hu: cleanups, comments. ]

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2007-08-23 15:18:02 +02:00
..
array.c sched: accounting regression since rc1 2007-08-23 15:18:02 +02:00
base.c Fix leaks on /proc/{*/sched,sched_debug,timer_list,timer_stats} 2007-07-31 15:39:40 -07:00
generic.c procfs directory entry cleanup 2007-07-16 09:05:43 -07:00
inode-alloc.txt
inode.c Fix procfs compat_ioctl regression 2007-07-28 19:42:22 -07:00
internal.h
kcore.c
kmsg.c
Makefile
mmu.c
nommu.c
proc_devtree.c
proc_misc.c x86_64: Avoid too many remote cpu references due to /proc/stat 2007-07-21 18:37:09 -07:00
proc_sysctl.c
proc_tty.c Make /proc/tty/drivers use seq_list_xxx helpers 2007-07-16 09:05:42 -07:00
root.c
task_mmu.c
task_nommu.c
vmcore.c