diff options
author | Matt Fleming <matt.fleming@intel.com> | 2015-01-23 18:45:48 +0000 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-02-25 13:53:36 +0100 |
commit | 59bf7fd45c90a8fde22a7717b5413e4ed9666c32 (patch) | |
tree | c7a8eaa6b4cd6e1323164a7aa6ff0eb375a20a61 /arch/arm | |
parent | bff671dba7981195a644a5dc210d65de8ae2d251 (diff) | |
download | op-kernel-dev-59bf7fd45c90a8fde22a7717b5413e4ed9666c32.zip op-kernel-dev-59bf7fd45c90a8fde22a7717b5413e4ed9666c32.tar.gz |
perf/x86/intel: Enable conflicting event scheduling for CQM
We can leverage the workqueue that we use for RMID rotation to support
scheduling of conflicting monitoring events. Allowing events that
monitor conflicting things is done at various other places in the perf
subsystem, so there's precedent there.
An example of two conflicting events would be monitoring a cgroup and
simultaneously monitoring a task within that cgroup.
This uses the cache_groups list as a queuing mechanism, where every
event that reaches the front of the list gets the chance to be scheduled
in, possibly descheduling any conflicting events that are running.
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Kanaka Juvva <kanaka.d.juvva@intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Vikas Shivappa <vikas.shivappa@linux.intel.com>
Link: http://lkml.kernel.org/r/1422038748-21397-10-git-send-email-matt@codeblueprint.co.uk
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/arm')
0 files changed, 0 insertions, 0 deletions