WSL2-Linux-Kernel/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
..
Makefile [PATCH] remove the syslog interface when printk is disabled 2006-12-07 08:39:38 -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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
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 [PATCH] Make most file operations structs in fs/ const 2006-03-28 09:16:06 -08:00
mmu.c [PATCH] fix impossible VmallocChunk 2005-05-17 07:59:10 -07:00
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 [PATCH] powerpc: Cope with duplicate node & property names in /proc/device-tree 2006-03-28 16:45:23 +11:00
proc_misc.c [PATCH] proc_misc build fix 2006-12-08 08:29:09 -08:00
proc_tty.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
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 Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00