lkml.org 
[lkml]   [2017]   [Oct]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH 08/17] perf: Allow inheritance for detached events
On Tue, Sep 05, 2017 at 04:30:17PM +0300, Alexander Shishkin wrote:
> This enables inheritance for detached events. Unlike traditional events,
> these do not have parents: inheritance produces a new independent event
> with the same attribute. If the 'parent' event has a ring buffer, so will
> the new event. Considering the mlock accounting, this buffer allocation
> may fail, which in turn will fail the parent's fork, something to be
> aware of.
>
> This also effectively disables context cloning, because unlike the
> traditional events, these will each have its own ring buffer and
> context switch optimization can't work.

Right, so this thing is icky... as you know. More naming issues though,
what will you go and call those files.

\
 
 \ /
  Last update: 2017-10-03 16:43    [W:0.212 / U:2.972 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site