From: Peter Zijlstra Date: Sat, 9 Apr 2011 19:17:45 +0000 (+0200) Subject: perf: Change and simplify ctx::is_active semantics X-Git-Tag: v3.1-rc1~299^2~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db24d33e08b88e990991760a44d72006a5dc6102;p=pandora-kernel.git perf: Change and simplify ctx::is_active semantics Instead of tracking if a context is active or not, track which events of the context are active. By making it a bitmask of EVENT_PINNED|EVENT_FLEXIBLE we can simplify some of the scheduling routines since it can avoid adding events that are already active. Signed-off-by: Peter Zijlstra Link: http://lkml.kernel.org/r/20110409192141.930282378@chello.nl Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed