lkml.org 
[lkml]   [2012]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] sched: Update scheduler stat documentation.
From
Date
/proc/schedstat's second field reflect to # of time context switch happened not # of times switched to the expired queue.

Signed-off-by: Rakib Mullick <rakib.mullick@gmail.com>
---

diff --git a/Documentation/scheduler/sched-stats.txt b/Documentation/scheduler/sched-stats.txt
index 1cd5d51..7d8e12c 100644
--- a/Documentation/scheduler/sched-stats.txt
+++ b/Documentation/scheduler/sched-stats.txt
@@ -38,7 +38,8 @@ First field is a sched_yield() statistic:
1) # of times sched_yield() was called

Next three are schedule() statistics:
- 2) # of times we switched to the expired queue and reused it
+ 2) # of times context switch happened. This field is not utilized these
+ days but kept for holding userspace tools integrity.
3) # of times schedule() was called
4) # of times schedule() left the processor idle




\
 
 \ /
  Last update: 2012-01-12 18:31    [W:1.271 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site