From owner-cvs-src@FreeBSD.ORG Fri Nov 7 19:03:18 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BB26916A4CE; Fri, 7 Nov 2003 19:03:18 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C34943F75; Fri, 7 Nov 2003 19:03:18 -0800 (PST) (envelope-from davidxu@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hA833IXJ010935; Fri, 7 Nov 2003 19:03:18 -0800 (PST) (envelope-from davidxu@repoman.freebsd.org) Received: (from davidxu@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hA833HtM010934; Fri, 7 Nov 2003 19:03:17 -0800 (PST) (envelope-from davidxu) Message-Id: <200311080303.hA833HtM010934@repoman.freebsd.org> From: David Xu Date: Fri, 7 Nov 2003 19:03:17 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern sched_4bsd.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Nov 2003 03:03:18 -0000 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