]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - kernel/sched/cputime.c
sched/cputime: Rename vtime_accounting_enabled() to vtime_accounting_cpu_enabled()
authorFrederic Weisbecker <fweisbec@gmail.com>
Thu, 19 Nov 2015 15:47:32 +0000 (16:47 +0100)
committerIngo Molnar <mingo@kernel.org>
Fri, 4 Dec 2015 09:34:45 +0000 (10:34 +0100)
commit55dbdcfa05533f44c9416070b8a9f6432b22314a
tree54425c1bc5c2351b8786f59d84732db9f290571c
parentcab245d68c38afff1a4c4d018ab7e1d316982f5d
sched/cputime: Rename vtime_accounting_enabled() to vtime_accounting_cpu_enabled()

vtime_accounting_enabled() checks if vtime is running on the current CPU
and is as such a misnomer. Lets rename it to a function that reflect its
locality. We are going to need the current name for a function that tells
if vtime runs at all on some CPU.

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-6-git-send-email-fweisbec@gmail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/context_tracking.h
include/linux/vtime.h
kernel/sched/cputime.c
kernel/time/tick-sched.c