From: Paul Mackerras Date: Mon, 12 Jan 2009 04:11:00 +0000 (+1100) Subject: perf_counter: Always schedule all software counters in X-Git-Tag: v2.6.31-rc1~383^2~531 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd0e6ba22ea21bcc2c420b385a170593c58f4c08;p=pandora-kernel.git perf_counter: Always schedule all software counters in Software counters aren't subject to the limitations imposed by the fixed number of hardware counter registers, so there is no reason not to enable them all in __perf_counter_sched_in. Previously we used to break out of the loop when we got to a group that wouldn't fit on the PMU; with this we continue through the list but only schedule in software counters (or groups containing only software counters) from there on. Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed