lkml.org 
[lkml]   [2010]   [Sep]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] perf_events: improve DS/BTS/PEBS buffer allocation
From
Date
On Mon, 2010-09-13 at 17:20 +0200, Stephane Eranian wrote:

> That is the case we the sizes you have chosen today. For DS, we
> could round up to one page for now.

Markus chose the BTS size, for PEBS a single page was plenty since we do
single event things (although we could do multiple for attr.precise_ip <
2).

For DS there's:
kmalloc_node(sizeof(struct ds), GFP_KERNEL | __GFP_ZERO, cpu_node(cpu));




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