android_kernel_xiaomi_sm8350/fs/proc
Andrew Morton aba76fdb8a [PATCH] io-accounting: report in procfs
Add a simple /proc/pid/io to show the IO accounting fields.

Maybe this shouldn't be merged in mainline - the preferred reporting channel
is taskstats.  But given the poor state of our userspace support for
taskstats, this is useful for developer-testing, at least.  And it improves
the changes that the procps developers will wire it up into top(1).  Opinions
are sought.

The patch also wires up the existing IO-accounting fields.

It's a bit racy on 32-bit machines: if process A reads process B's
/proc/pid/io while process B is updating one of those 64-bit counters, process
A could see an intermediate result.

Cc: Jay Lan <jlan@sgi.com>
Cc: Shailabh Nagar <nagar@watson.ibm.com>
Cc: Balbir Singh <balbir@in.ibm.com>
Cc: Chris Sturtivant <csturtiv@sgi.com>
Cc: Tony Ernst <tee@sgi.com>
Cc: Guillaume Thouvenin <guillaume.thouvenin@bull.net>
Cc: David Wright <daw@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-12-10 09:55:41 -08:00
..
array.c [PATCH] add process_session() helper routine: deprecate old field 2006-12-08 08:28:51 -08:00
base.c [PATCH] io-accounting: report in procfs 2006-12-10 09:55:41 -08:00
generic.c [PATCH] proc: change uses of f_{dentry, vfsmnt} to use f_path 2006-12-08 08:28:41 -08:00
inode-alloc.txt
inode.c [PATCH] slab: remove kmem_cache_t 2006-12-07 08:39:25 -08:00
internal.h [PATCH] NOMMU: Implement /proc/pid/maps for NOMMU 2006-09-27 08:26:14 -07:00
kcore.c [PATCH] elf: fix kcore note size calculation 2006-12-07 08:39:38 -08:00
kmsg.c
Makefile [PATCH] remove the syslog interface when printk is disabled 2006-12-07 08:39:38 -08:00
mmu.c
nommu.c [PATCH] proc: change uses of f_{dentry, vfsmnt} to use f_path 2006-12-08 08:28:41 -08:00
proc_devtree.c
proc_misc.c [PATCH] proc_misc build fix 2006-12-08 08:29:09 -08:00
proc_tty.c
root.c [PATCH] severing fs.h, radix-tree.h -> sched.h 2006-12-04 02:00:24 -05:00
task_mmu.c [PATCH] proc: change uses of f_{dentry, vfsmnt} to use f_path 2006-12-08 08:28:41 -08:00
task_nommu.c [PATCH] proc: change uses of f_{dentry, vfsmnt} to use f_path 2006-12-08 08:28:41 -08:00
vmcore.c