emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MPS codegen


From: Gerd Möllmann
Subject: Re: MPS codegen
Date: Sat, 15 Jun 2024 10:56:33 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Helmut Eller <eller.helmut@gmail.com> writes:

> On Sat, Jun 15 2024, Gerd Möllmann wrote:
>
>> I can't munmap because that
>> would write back the changes done by the reloc phase back to the .pdmp
>> file.
>
> I think that's a misunderstanding.  dump_map_file_posix sets MAP_PRIVATE
> for DUMP_MEMORY_ACCESS_READWRITE.  So whatever changes the reloc phase
> makes, they are written to copy-on-write pages and never to disk.

Hm, I can try that a bit later. So, the theory would be that mprotect
PROT_NONE does not work somehow on madvice'd not needed memory?  



reply via email to

[Prev in Thread] Current Thread [Next in Thread]