Re: perf/jit doesn't cope well with mprotect() to jit containing pages

From: Andres Freund
Date: Wed Jan 25 2017 - 20:25:25 EST


Hi,

On 2016-12-12 10:28:13 +0100, Peter Zijlstra wrote:
> On Mon, Dec 12, 2016 at 01:01:48AM -0800, Andres Freund wrote:
> >
> >
> > On December 12, 2016 12:49:03 AM PST, Peter Zijlstra <peterz@xxxxxxxxxxxxx> 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.
>
> No idea about that, I don't really have the whole JIT stuff present atm.
> I just know how the mmap stuff works.
>
> Stephane?

Ping?

Andres