From: | Simon Schubert <corecode@xxxxxxxxxxxxxxxxxxxxxxx> |
Date: | Mon, 1 Jan 2007 14:51:18 -0800 (PST) |
corecode 2007/01/01 14:51:18 PST DragonFly src repository Modified files: bin/ps print.c ps.c ps.h sys/emulation/linux linux_misc.c sys/kern init_main.c kern_acct.c kern_clock.c kern_exit.c kern_proc.c kern_resource.c kern_sig.c kern_synch.c tty.c uipc_socket.c usched_bsd4.c usched_dummy.c vfs_aio.c vfs_bio.c sys/netinet sctp_output.c sys/netproto/smb smb_subr.c sys/sys proc.h resourcevar.h user.h sys/vfs/procfs procfs_status.c sys/vm vm_fault.c vm_glue.c Log: 1:1 Userland threading stage 2.10/4: Separate p_stats into p_ru and lwp_ru. proc.p_ru keeps track of all statistics directly related to a proc. This consists of RSS usage and nswap information and aggregate numbers for all former lwps of this proc. proc.p_cru is the sum of all stats of reaped children. lwp.lwp_ru contains the stats directly related to one specific lwp, meaning packet, scheduler switch or page fault counts, etc. This information gets added to lwp.lwp_proc.p_ru when the lwp exits. Revision Changes Path 1.25 +4 -20 src/bin/ps/print.c 1.21 +4 -13 src/bin/ps/ps.c 1.8 +0 -1 src/bin/ps/ps.h 1.34 +3 -3 src/sys/emulation/linux/linux_misc.c 1.71 +3 -2 src/sys/kern/init_main.c 1.27 +8 -7 src/sys/kern/kern_acct.c 1.56 +1 -5 src/sys/kern/kern_clock.c 1.67 +4 -9 src/sys/kern/kern_exit.c 1.31 +5 -2 src/sys/kern/kern_proc.c 1.30 +41 -12 src/sys/kern/kern_resource.c 1.59 +2 -2 src/sys/kern/kern_sig.c 1.69 +1 -1 src/sys/kern/kern_synch.c 1.35 +6 -10 src/sys/kern/tty.c 1.42 +5 -5 src/sys/kern/uipc_socket.c 1.19 +1 -1 src/sys/kern/usched_bsd4.c 1.6 +1 -1 src/sys/kern/usched_dummy.c 1.34 +14 -13 src/sys/kern/vfs_aio.c 1.87 +4 -4 src/sys/kern/vfs_bio.c 1.9 +1 -1 src/sys/netinet/sctp_output.c 1.25 +0 -3 src/sys/netproto/smb/smb_subr.c 1.89 +14 -6 src/sys/sys/proc.h 1.14 +3 -11 src/sys/sys/resourcevar.h 1.16 +2 -2 src/sys/sys/user.h 1.13 +4 -4 src/sys/vfs/procfs/procfs_status.c 1.34 +3 -4 src/sys/vm/vm_fault.c 1.48 +1 -5 src/sys/vm/vm_glue.c http://www.dragonflybsd.org/cvsweb/src/bin/ps/print.c.diff?r1=1.24&r2=1.25&f=u http://www.dragonflybsd.org/cvsweb/src/bin/ps/ps.c.diff?r1=1.20&r2=1.21&f=u http://www.dragonflybsd.org/cvsweb/src/bin/ps/ps.h.diff?r1=1.7&r2=1.8&f=u http://www.dragonflybsd.org/cvsweb/src/sys/emulation/linux/linux_misc.c.diff?r1=1.33&r2=1.34&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/init_main.c.diff?r1=1.70&r2=1.71&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_acct.c.diff?r1=1.26&r2=1.27&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_clock.c.diff?r1=1.55&r2=1.56&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_exit.c.diff?r1=1.66&r2=1.67&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_proc.c.diff?r1=1.30&r2=1.31&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_resource.c.diff?r1=1.29&r2=1.30&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_sig.c.diff?r1=1.58&r2=1.59&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_synch.c.diff?r1=1.68&r2=1.69&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/tty.c.diff?r1=1.34&r2=1.35&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/uipc_socket.c.diff?r1=1.41&r2=1.42&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/usched_bsd4.c.diff?r1=1.18&r2=1.19&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/usched_dummy.c.diff?r1=1.5&r2=1.6&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_aio.c.diff?r1=1.33&r2=1.34&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_bio.c.diff?r1=1.86&r2=1.87&f=u http://www.dragonflybsd.org/cvsweb/src/sys/netinet/sctp_output.c.diff?r1=1.8&r2=1.9&f=u http://www.dragonflybsd.org/cvsweb/src/sys/netproto/smb/smb_subr.c.diff?r1=1.24&r2=1.25&f=u http://www.dragonflybsd.org/cvsweb/src/sys/sys/proc.h.diff?r1=1.88&r2=1.89&f=u http://www.dragonflybsd.org/cvsweb/src/sys/sys/resourcevar.h.diff?r1=1.13&r2=1.14&f=u http://www.dragonflybsd.org/cvsweb/src/sys/sys/user.h.diff?r1=1.15&r2=1.16&f=u http://www.dragonflybsd.org/cvsweb/src/sys/vfs/procfs/procfs_status.c.diff?r1=1.12&r2=1.13&f=u http://www.dragonflybsd.org/cvsweb/src/sys/vm/vm_fault.c.diff?r1=1.33&r2=1.34&f=u http://www.dragonflybsd.org/cvsweb/src/sys/vm/vm_glue.c.diff?r1=1.47&r2=1.48&f=u