[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
Re: MPS codegen
From:
Gerd Möllmann
Subject:
Re: MPS codegen
Date:
2024年6月15日 11:27:43 +0200
Good idea!
Sent from my iPhone
> On 15. Jun 2024, at 11:07, Helmut Eller <eller.helmut@gmail.com> wrote:
>
> On Sat, Jun 15 2024, Gerd Möllmann wrote:
>
>> 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?
>
> It looks like dump_discard_mem doesn't properly check error codes.
> Maybe the region it want's to discard is not at page boundaries or
> something like that.
- Re: MPS codegen, (continued)
- Re: MPS codegen , Eli Zaretskii, 2024年06月15日
- Re: MPS codegen , Gerd Möllmann, 2024年06月15日
- Re: MPS codegen , Eli Zaretskii, 2024年06月15日
- Re: MPS codegen , Gerd Möllmann, 2024年06月15日
- Re: MPS codegen , Gerd Möllmann, 2024年06月15日
- Re: MPS codegen , Helmut Eller, 2024年06月15日
- Re: MPS codegen , Gerd Möllmann, 2024年06月15日
- Re: MPS codegen , Helmut Eller, 2024年06月15日
- Re: MPS codegen,
Gerd Möllmann <=
- Re: MPS codegen , Gerd Möllmann, 2024年06月15日
- Re: MPS codegen , Gerd Möllmann, 2024年06月16日
- Re: MPS codegen , Eli Zaretskii, 2024年06月16日
- Re: MPS codegen , Gerd Möllmann, 2024年06月16日
- Re: MPS codegen , Helmut Eller, 2024年06月16日
- Re: MPS codegen , Gerd Möllmann, 2024年06月16日