Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [yamt-idlelwp] src/sys



Module Name:    src
Committed By:   ad
Date:           Sat Apr 21 15:50:22 UTC 2007

Modified Files:
        src/sys/compat/darwin [yamt-idlelwp]: darwin_sysctl.c
        src/sys/kern [yamt-idlelwp]: init_sysctl.c kern_clock.c kern_idle.c
            kern_lwp.c kern_proc.c kern_sleepq.c kern_synch.c tty.c
        src/sys/sys [yamt-idlelwp]: lwp.h proc.h sysctl.h

Log Message:
Some changes mainly for top/ps:

- Add an optional name field to struct lwp.
- Count the total number of context switches + involuntary,
  not voluntary + involuntary.
- Mark the idle threads as LSIDL when not running, otherwise
  they show up funny in a top(1) that shows threads.
- Make pctcpu and cpticks per-LWP attributes.
- Add to kinfo_lwp: cpticks, pctcpu, pid, name.


To generate a diff of this commit:
cvs rdiff -r1.47.2.2 -r1.47.2.3 src/sys/compat/darwin/darwin_sysctl.c
cvs rdiff -r1.96.2.5 -r1.96.2.6 src/sys/kern/init_sysctl.c
cvs rdiff -r1.106.2.5 -r1.106.2.6 src/sys/kern/kern_clock.c
cvs rdiff -r1.1.2.6 -r1.1.2.7 src/sys/kern/kern_idle.c
cvs rdiff -r1.55.2.12 -r1.55.2.13 src/sys/kern/kern_lwp.c
cvs rdiff -r1.100.2.5 -r1.100.2.6 src/sys/kern/kern_proc.c
cvs rdiff -r1.4.2.13 -r1.4.2.14 src/sys/kern/kern_sleepq.c
cvs rdiff -r1.177.2.27 -r1.177.2.28 src/sys/kern/kern_synch.c
cvs rdiff -r1.190.2.3 -r1.190.2.4 src/sys/kern/tty.c
cvs rdiff -r1.48.2.14 -r1.48.2.15 src/sys/sys/lwp.h
cvs rdiff -r1.236.2.8 -r1.236.2.9 src/sys/sys/proc.h
cvs rdiff -r1.166.2.3 -r1.166.2.4 src/sys/sys/sysctl.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index