[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
On 09/13/2010 12:35 PM, Andi Kleen wrote:
> DS supports page tables, but I have some doubts it really
> supports page faults. vmalloc today does page faults.

It specifically does not (SDM III In fact, it requires that
the pages be mapped Accessed and Dirty so the hardware doesn't have to
stop and set those bits.

The options thus are vmalloc_sync_all(), which will make Linus unhappy
(since he seems to want to get rid of the thing), or doing fixmap-style
reserved address space which is always consistent because the PDEs are
preallocated and frozen.


 \ /
  Last update: 2010-09-13 22:37    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean