sched/fair: Add comments to explain select_idle_sibling()
authorMatt Fleming <matt@codeblueprint.co.uk>
Wed, 9 Mar 2016 14:59:08 +0000 (14:59 +0000)
committerIngo Molnar <mingo@kernel.org>
Mon, 21 Mar 2016 09:52:51 +0000 (10:52 +0100)
commitd4335581dc30ec6545999c7443bb9fead274a980
tree35d41f13ec5e7e2f097bea13f3975381995992f6
parent3a47d5124a957358274e9ca7b115b2f3a914f56d
sched/fair: Add comments to explain select_idle_sibling()

It's not entirely obvious how the main loop in select_idle_sibling()
works on first glance. Sprinkle a few comments to explain the design
and intention behind the loop based on some conversations with Mike
and Peter.

Signed-off-by: Matt Fleming <matt@codeblueprint.co.uk>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mel Gorman <mgorman@suse.com>
Cc: Mike Galbraith <mgalbraith@suse.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1457535548-15329-1-git-send-email-matt@codeblueprint.co.uk
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/fair.c
This page took 0.026013 seconds and 5 git commands to generate.