summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/u14-34f.c
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2014-02-24 12:43:31 +0100
committerIngo Molnar <mingo@kernel.org>2014-02-27 12:43:26 +0100
commit4a2345937c17722bd2979f662ae909846b4a052a (patch)
tree4936c660a961dcbc9369850dfdf785a7c8f976f7 /drivers/scsi/u14-34f.c
parentc347a2f1793e285b0812343e715bb7e953dbdf68 (diff)
downloadop-kernel-dev-4a2345937c17722bd2979f662ae909846b4a052a.zip
op-kernel-dev-4a2345937c17722bd2979f662ae909846b4a052a.tar.gz
perf: Optimize group_sched_in()
Use the ctx pmu instead of the event pmu. When a group leader is a software event but the group contains hardware events, the entire group is on the hardware PMU. Using the hardware PMU for the transaction makes most sense since that's the most expensive one to programm (and software PMUs generally don't have TXN support anyway). Signed-off-by: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Link: http://lkml.kernel.org/n/tip-sctoo9t2f3nn2c9g568928q3@git.kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/scsi/u14-34f.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud