[PATCH 6/8] docs: explain procs_running better

From: Randy Dunlap
Date: Wed Nov 04 2009 - 19:11:27 EST

From: Luis Garces-Erice <lge@xxxxxxxx>
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 <randy.dunlap@xxxxxxxxxx>
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
+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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/