Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1519117

Re: [PATCH] perf/core: introduce context per CPU event list

From Peter Zijlstra <peterz@infradead.org>
Newsgroups linux.kernel
Subject Re: [PATCH] perf/core: introduce context per CPU event list
Date 2016-11-10 17:30 +0100
Message-ID <sC0oF-as-25@gated-at.bofh.it> (permalink)
References (4 earlier) <sBWl3-60n-21@gated-at.bofh.it> <sBWuK-67D-23@gated-at.bofh.it> <sBWEp-6aV-17@gated-at.bofh.it> <sBX7r-6lo-1@gated-at.bofh.it> <sBYmR-7lj-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Nov 10, 2016 at 02:10:37PM +0000, Mark Rutland wrote:

> Sure, that sounds fine for scheduling (including big.LITTLE).
> 
> I might still be misunderstanding something, but I don't think that
> helps Kan's case: since INACTIVE events which will fail their filters
> (including the CPU check) will still be in the tree, they will still
> have to be iterated over.
> 
> That is, unless we also sort the tree by event->cpu, or if in those
> cases we only care about ACTIVE events and can use an active list.

A few emails back up I wrote:

>> If we stick all events in an RB-tree sorted on: {pmu,cpu,runtime} we

Looking at the code there's also cgroup muck, not entirely sure where in
the sort order that should go if at all.

But having pmu and cpu in there would cure the big-little and
per-task-per-cpu event issues.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] perf/core: introduce context per CPU event list kan.liang@intel.com - 2016-11-09 20:10 +0100
  Re: [PATCH] perf/core: introduce context per CPU event list Peter Zijlstra <peterz@infradead.org> - 2016-11-10 09:40 +0100
    Re: [PATCH] perf/core: introduce context per CPU event list Mark Rutland <mark.rutland@arm.com> - 2016-11-10 12:10 +0100
      Re: [PATCH] perf/core: introduce context per CPU event list Peter Zijlstra <peterz@infradead.org> - 2016-11-10 12:40 +0100
        Re: [PATCH] perf/core: introduce context per CPU event list Mark Rutland <mark.rutland@arm.com> - 2016-11-10 13:10 +0100
          Re: [PATCH] perf/core: introduce context per CPU event list Peter Zijlstra <peterz@infradead.org> - 2016-11-10 13:20 +0100
            Re: [PATCH] perf/core: introduce context per CPU event list Mark Rutland <mark.rutland@arm.com> - 2016-11-10 13:30 +0100
              Re: [PATCH] perf/core: introduce context per CPU event list Peter Zijlstra <peterz@infradead.org> - 2016-11-10 14:00 +0100
                Re: [PATCH] perf/core: introduce context per CPU event list Mark Rutland <mark.rutland@arm.com> - 2016-11-10 15:20 +0100
                RE: [PATCH] perf/core: introduce context per CPU event list "Liang, Kan" <kan.liang@intel.com> - 2016-11-10 15:40 +0100
                Re: [PATCH] perf/core: introduce context per CPU event list Peter Zijlstra <peterz@infradead.org> - 2016-11-10 17:30 +0100
                Re: [PATCH] perf/core: introduce context per CPU event list Mark Rutland <mark.rutland@arm.com> - 2016-11-10 18:10 +0100

csiph-web