lkml.org 
[lkml]   [2010]   [Sep]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] perf_events: improve DS/BTS/PEBS buffer allocation
    * Peter Zijlstra (peterz@infradead.org) wrote:
    > On Mon, 2010-09-13 at 15:31 -0400, Mathieu Desnoyers wrote:
    > > > Ok, so can we play the same trick you're playing with the sampling
    > > > buffer, i.e., you use alloc_pages_node() for one page at a time, and
    > > > then you stitch them on demand via SW?
    > >
    > > Well, a thought is striking me: it sounds like you are re-doing YAORB (short
    > > for Yet Another Ring Buffer,
    >
    > He's not.. the hardware needs a large (virtually) contiguous region to
    > poke data into, we need to read it out from NMI context.

    Ah ok, it's different then.

    Thanks,

    Mathieu

    --
    Mathieu Desnoyers
    Operating System Efficiency R&D Consultant
    EfficiOS Inc.
    http://www.efficios.com


    \
     
     \ /
      Last update: 2010-09-13 21:45    [W:4.074 / U:1.024 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site