From: Paul Turner Date: Tue, 30 Nov 2010 00:55:40 +0000 (-0800) Subject: sched: Fix unregister_fair_sched_group() X-Git-Tag: v2.6.38-rc1~489^2~12 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=822bc180a7f7a7bc5fcaaea195f41b487cc8cae8;p=pandora-kernel.git sched: Fix unregister_fair_sched_group() In the flipping and flopping between calling unregister_fair_sched_group() on a per-cpu versus per-group basis we ended up in a bad state. Remove from the list for the passed cpu as opposed to some arbitrary index. ( This fixes explosions w/ autogroup as well as a group creation/destruction stress test. ) Reported-by: Stephen Rothwell Signed-off-by: Paul Turner Cc: Peter Zijlstra Cc: Mike Galbraith LKML-Reference: <20101130005740.080828123@google.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed