help-smalltalk
[Top][All Lists]
Advanced

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

Re: [Help-smalltalk] Read-only oldspace


From: Gwenaël Casaccio
Subject: Re: [Help-smalltalk] Read-only oldspace
Date: Tue, 14 Jun 2011 01:56:07 +0200

Here is the complete ro patch Paolo

Gwen

On Fri, May 27, 2011 at 1:01 PM, Gwenael Casaccio <address@hidden> wrote:
> On 05/25/2011 06:13 PM, Paolo Bonzini wrote:
>>
>> On 05/25/2011 11:31 AM, Gwenael Casaccio wrote:
>>>
>>> Is it what you want for the image saving ?
>>>
>>>
>>> https://github.com/MrGwen/GNU-Smalltalk/commit/0372cfe08977da6d1d5cb8cecf2d7796f5375593
>>>
>>
>> Yes! Just:
>>
>> 1) no cut-and-paste :)
>>
>> 2) if "use_copy_on_write" is true, you should mmap the read-only data to
>> a separate memory region, so that you can make it read-only too. Perhaps
>> you need to invoke mmap separately instead of doing it just once at the
>> beginning of the loading.
>>
>> Paolo
>
>
> Hi,
>
> I use a separate memory region for the ro space when loading and refactor a
> bit :)
>
> https://github.com/MrGwen/GNU-Smalltalk/commit/a6c6aa267b12bf59169ef5c67f6fd1a016e32e7b
>
> Gwen
>

Attachment: ro_space_for_paolo.patch
Description: Text Data


reply via email to

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