summaryrefslogtreecommitdiffstats
path: root/kernel/sched/cpuacct.c
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2016-06-22 15:14:26 +0200
committerIngo Molnar <mingo@kernel.org>2016-06-27 12:53:19 +0200
commit55e16d30bd99510900caec913c90f53bc2b35cba (patch)
tree42984b0b0daaae83ea3c7b9e35d65ce9d7bf1c39 /kernel/sched/cpuacct.c
parent599b4840b0ea453c7d11e1798dcc8f494dcfd58a (diff)
sched/fair: Rework throttle_count sync
Since we already take rq->lock when creating a cgroup, use it to also sync the throttle_count and avoid the extra state and enqueue path branch. Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Konstantin Khlebnikov <khlebnikov@yandex-team.ru> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Mike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: bsegall@google.com Cc: linux-kernel@vger.kernel.org [ Fixed build warning. ] Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/sched/cpuacct.c')
0 files changed, 0 insertions, 0 deletions