[PATCH 0/2] perf: Scheduling optimizations

From: Alexander Shishkin
Date: Thu Jan 19 2017 - 11:48:01 EST


Hi Peter,

These here two patches deal with rescheduling on active contexts. The common
idea is that we shouldn't reschedule groups of higher priority than the ones
that are being added or scheduled in. 1/1 takes on the scheduling path, where
we don't want to touch cpu flexible groups if the scheduling context doesn't
carry pinned groups. 1/2 deals with the enable/install cases, where we have
to consider all four types of groups.

Alexander Shishkin (2):
perf: Don't re-schedule cpu flexible events needlessly
perf: Optimize event rescheduling on active contexts

kernel/events/core.c | 86 ++++++++++++++++++++++++++++++++++++++++++++--------
1 file changed, 74 insertions(+), 12 deletions(-)

--
2.11.0