Date: Fri, 7 Nov 2003 19:03:17 -0800 (PST) From: David Xu <davidxu@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern sched_4bsd.c Message-ID: <200311080303.hA833HtM010934@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
davidxu 2003/11/07 19:03:17 PST
FreeBSD src repository
Modified files:
sys/kern sched_4bsd.c
Log:
Return a reasonable number for top or ps to display for M:N thread,
since there is no direct association between M:N thread and kse,
sometimes, a thread does not have a kse, in that case, return a pctcpu
from its last kse, it is not perfect, but gives a good number to be
displayed.
Revision Changes Path
1.27 +2 -0 src/sys/kern/sched_4bsd.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311080303.hA833HtM010934>
