perf_counter: Always schedule all software counters in
authorPaul Mackerras <paulus@samba.org>
Mon, 12 Jan 2009 04:11:00 +0000 (15:11 +1100)
committerPaul Mackerras <paulus@samba.org>
Mon, 12 Jan 2009 04:12:50 +0000 (15:12 +1100)
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 <paulus@samba.org>

No differences found