]> git.itanic.dy.fi Git - linux-stable/commit
sched/cputime: Rename vtime fields
authorFrederic Weisbecker <fweisbec@gmail.com>
Thu, 29 Jun 2017 17:15:09 +0000 (19:15 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Jul 2017 22:10:22 +0000 (15:10 -0700)
commit7d546b63c820089b08941ae9e5b63147fad211ee
tree10cfe038269f8ab1dce4d8116ca57ee263c1ecda
parent09b43d8df3119e309e8842782f9acf39a9ab4872
sched/cputime: Rename vtime fields

commit 60a9ce57e7c5ac1df3a39fb941022bbfa40c0862 upstream.

The current "snapshot" based naming on vtime fields suggests we record
some past event but that's a low level picture of their actual purpose
which comes out blurry. The real point of these fields is to run a basic
state machine that tracks down cputime entry while switching between
contexts.

So lets reflect that with more meaningful names.

Tested-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Rik van Riel <riel@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Wanpeng Li <kernellwp@gmail.com>
Link: http://lkml.kernel.org/r/1498756511-11714-4-git-send-email-fweisbec@gmail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Mel Gorman <mgorman@techsingularity.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/init_task.h
include/linux/sched.h
kernel/fork.c
kernel/sched/cputime.c