]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sched: Make find_busiest_queue() a method
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Sat, 3 Mar 2012 15:56:25 +0000 (16:56 +0100)
committerIngo Molnar <mingo@kernel.org>
Mon, 19 Nov 2012 01:15:38 +0000 (02:15 +0100)
commit45eb17a6a8b22fbe092526a414166f8e378f212a
tree292bd4c90b8f48a42418cfaeb3d08b7963f8573b
parent94e699ce8314ef6f1368f35335f6922f5f14b375
sched: Make find_busiest_queue() a method

Its a bit awkward but it was the least painful means of modifying the
queue selection. Used in a later patch to conditionally use a random
queue.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Turner <pjt@google.com>
Cc: Lee Schermerhorn <Lee.Schermerhorn@hp.com>
Cc: Christoph Lameter <cl@linux.com>
Cc: Rik van Riel <riel@redhat.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Hugh Dickins <hughd@google.com>
Link: http://lkml.kernel.org/n/tip-lfpez319yryvdhwqfqrh99f2@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/fair.c