summaryrefslogtreecommitdiffstats
path: root/kernel/stop_machine.c
diff options
context:
space:
mode:
authorGeliang Tang <geliangtang@163.com>2015-11-15 11:18:40 +0100
committerIngo Molnar <mingo@kernel.org>2015-11-23 09:48:17 +0100
commit01783e0d452736d7deff1b920c5eccad67adc428 (patch)
tree95a498910a1f9d1141f2a40b4edd5bde1993f6d7 /kernel/stop_machine.c
parentsched/core: Fix incorrect wait time and wait count statistics (diff)
downloadlinux-01783e0d452736d7deff1b920c5eccad67adc428.tar.xz
linux-01783e0d452736d7deff1b920c5eccad67adc428.zip
sched/core: Use list_is_singular() in sched_can_stop_tick()
Use list_is_singular() to check if run_list has only one entry. Signed-off-by: Geliang Tang <geliangtang@163.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> 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> Link: http://lkml.kernel.org/r/a5453fafd735affcf28e53a1d0a3d6965cb5dbb5.1447582547.git.geliangtang@163.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/stop_machine.c')
0 files changed, 0 insertions, 0 deletions