| Bill Allombert on Sun, 29 Jan 2017 16:50:40 +0100 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| Re: Use PROT_NONE for unused virtual stack memory |
On Sun, Jan 29, 2017 at 04:30:32PM +0100, Jeroen Demeyer wrote:
> On 2017-01-28 15:48, Bill Allombert wrote:
> >This works fine with --disable-mmap.
>
> Why don't you do that then? Emscripten needs to emulate mmap() somehow and I
> guess that it doesn't fully support the non-trivial usage introduced by this
> patch. I don't think that this is a problem, the simple PARI stack model
> with --disable-mmap should be sufficient.
Giving up on mmap on emscripten after it worked fine for one year would not
be very constructive. I already spend quite a bit of time investigating why
ellinit("11a1") did not work anymore.
At the very least, the difference of speed and behaviour of
--disable-mmap and --enable-mmap on emscripten would need to be clearly
established.
Cheers,
Bill.