diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2015-11-19 16:47:33 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-12-04 10:34:45 +0100 |
commit | e592539466380279a9e6e6fdfe4545aa54f22593 (patch) | |
tree | de661ef2867d8a78877534cde15fcbacc7262586 /net/mpls | |
parent | 55dbdcfa05533f44c9416070b8a9f6432b22314a (diff) | |
download | linux-e592539466380279a9e6e6fdfe4545aa54f22593.tar.gz linux-e592539466380279a9e6e6fdfe4545aa54f22593.tar.bz2 linux-e592539466380279a9e6e6fdfe4545aa54f22593.zip |
sched/cputime: Introduce vtime accounting check for readers
Readers need to know if vtime runs at all on some CPU somewhere, this
is a fast-path check to determine if we need to check further the need
to add up any tickless cputime delta.
This fast path check uses context tracking state because vtime is tied
to context tracking as of now. This check appears to be confusing though
so lets use a vtime function that deals with context tracking details
in vtime implementation instead.
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-7-git-send-email-fweisbec@gmail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'net/mpls')
0 files changed, 0 insertions, 0 deletions