sched/cputime: Clarify vtime symbols and document them
commit7098c1eac75dc03fdbb7249171a6e68ce6044a5a
authorFrederic Weisbecker <fweisbec@gmail.com>
Thu, 19 Nov 2015 15:47:30 +0000 (19 16:47 +0100)
committerIngo Molnar <mingo@kernel.org>
Fri, 4 Dec 2015 09:34:44 +0000 (4 10:34 +0100)
tree06b4c828297c06b6aaa5494054a5cb9855e2d198
parent7877a0ba5ec63c7b0111b06c773f1696fa17b35a
sched/cputime: Clarify vtime symbols and document them

VTIME_SLEEPING state happens either when:

1) The task is sleeping and no tickless delta is to be added on the task
   cputime stats.
2) The CPU isn't running vtime at all, so the same properties of 1) applies.

Lets rename the vtime symbol to reflect both states.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Chris Metcalf <cmetcalf@ezchip.com>
Cc: Christoph Lameter <cl@linux.com>
Cc: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Luiz Capitulino <lcapitulino@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul E . McKenney <paulmck@linux.vnet.ibm.com>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Rik van Riel <riel@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1447948054-28668-4-git-send-email-fweisbec@gmail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/sched.h
kernel/fork.c
kernel/sched/cputime.c