diff options
author | Peter Zijlstra <peterz@infradead.org> | 2016-06-22 15:14:26 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2016-06-27 12:53:19 +0200 |
commit | 55e16d30bd99510900caec913c90f53bc2b35cba (patch) | |
tree | 42984b0b0daaae83ea3c7b9e35d65ce9d7bf1c39 /kernel/panic.c | |
parent | 599b4840b0ea453c7d11e1798dcc8f494dcfd58a (diff) | |
download | linux-55e16d30bd99510900caec913c90f53bc2b35cba.tar.bz2 |
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/panic.c')
0 files changed, 0 insertions, 0 deletions