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

_______________________________________________
help-smalltalk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to