sched_bsd.c: update comment about p_pctcpu

2016-03-07 Thread Michal Mazurek
It's also used in top, systat, and tty status (^T). Index: sched_bsd.c === RCS file: /cvs/src/sys/kern/sched_bsd.c,v retrieving revision 1.42 diff -u -p -r1.42 sched_bsd.c --- sched_bsd.c 8 Nov 2015 20:45:57 - 1.42 +++

sched_bsd.c: update comment

2016-03-07 Thread Michal Mazurek
Some time ago p_swptime was removed: - p->p_swtime++; if (p->p_stat == SSLEEP || p->p_stat == SSTOP) p->p_slptime++; But the comment still mentions it. What type p_swtime had and how someone concluded it overflows in 45 days I do not know.

Re: sched_bsd.c update comment

2016-03-05 Thread Michal Mazurek
On 16:20:11, 1.03.16, Michal Mazurek wrote: > > Index: sys/kern/sched_bsd.c > === > RCS file: /cvs/src/sys/kern/sched_bsd.c,v > retrieving revision 1.42 > diff -u -p -r1.42 sched_bsd.c > --- sys/kern/sched_bsd.c 8 Nov 2015

sched_bsd.c update comment

2016-03-01 Thread Michal Mazurek
Index: sys/kern/sched_bsd.c === RCS file: /cvs/src/sys/kern/sched_bsd.c,v retrieving revision 1.42 diff -u -p -r1.42 sched_bsd.c --- sys/kern/sched_bsd.c8 Nov 2015 20:45:57 - 1.42 +++ sys/kern/sched_bsd.c1