lkml.org 
[lkml]   [2019]   [Nov]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3 05/10] perf/cgroup: Grow per perf_cpu_context heap storage
On Wed, Nov 13, 2019 at 04:30:37PM -0800, Ian Rogers wrote:
> Allow the per-CPU min heap storage to have sufficient space for per-cgroup
> iterators.
>
> Based-on-work-by: Peter Zijlstra (Intel) <peterz@infradead.org>
> Signed-off-by: Ian Rogers <irogers@google.com>
> ---
> kernel/events/core.c | 47 ++++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 47 insertions(+)
>
> diff --git a/kernel/events/core.c b/kernel/events/core.c
> index 0dab60bf5935..3c44be7de44e 100644
> --- a/kernel/events/core.c
> +++ b/kernel/events/core.c
> @@ -892,6 +892,47 @@ static inline void perf_cgroup_sched_in(struct task_struct *prev,
> rcu_read_unlock();
> }
>
> +static int perf_cgroup_ensure_itr_storage_cap(struct perf_event *event,

That's a ludicrous function name.

> + struct cgroup_subsys_state *css)
> +{

\
 
 \ /
  Last update: 2019-11-14 10:56    [W:0.182 / U:7.460 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site