lkml.org 
[lkml]   [2016]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: perf/jit doesn't cope well with mprotect() to jit containing pages
From
Date


On December 12, 2016 12:49:03 AM PST, Peter Zijlstra <peterz@infradead.org> wrote:
>On Fri, Dec 09, 2016 at 09:02:18PM -0800, Andres Freund wrote:

>> Am I doing something wrong, or is there a bug here?
>
>Expected behaviour afaict

So I need to prevent vma merging to use perf jit support? That seems a bit weird. Possibly the inject --jit pass needs to do something about this? A hack might be to re-emit the fake mmap2 records after ones potentially overwriting previously emitted records. Don't know perf internals well enough to suggest something prettier.

Andres
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.

\
 
 \ /
  Last update: 2016-12-12 10:02    [W:0.158 / U:0.788 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site