Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934542AbZLGDxD (ORCPT ); Sun, 6 Dec 2009 22:53:03 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S934523AbZLGDw6 (ORCPT ); Sun, 6 Dec 2009 22:52:58 -0500 Received: from xenotime.net ([72.52.64.118]:42698 "HELO xenotime.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S934494AbZLGDwy (ORCPT ); Sun, 6 Dec 2009 22:52:54 -0500 Date: Sun, 06 Dec 2009 18:30:44 -0800 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Luis Garces-Erice Cc: Linus Torvalds Subject: [PATCH 5/6] docs: better explanation of procs_running Message-ID: <12601530441257@xenotime.net> In-Reply-To: <12601530442994@xenotime.net> X-Mailer: gregkh_patchbomb Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1408 Lines: 37 From: Luis Garces-Erice Subject: Doc: better explanation of procs_running the description in Documentation/filesystems/proc.txt of the procs_running entry in /proc/stat is confusing (according to that description, it looks as if procs_running could only be a number between 0 and the number of CPUs). Changed it to a more accurate description in the patch attached. Signed-off-by: Randy Dunlap --- Documentation/filesystems/proc.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- lnx-2632-rc6.orig/Documentation/filesystems/proc.txt +++ lnx-2632-rc6/Documentation/filesystems/proc.txt @@ -1088,8 +1088,8 @@ The "processes" line gives the number o includes (but is not limited to) those created by calls to the fork() and clone() system calls. -The "procs_running" line gives the number of processes currently running on -CPUs. +The "procs_running" line gives the total number of threads that are +running or ready to run (i.e., the total number of runnable threads). The "procs_blocked" line gives the number of processes currently blocked, waiting for I/O to complete. -- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/