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
_______________________________________________
help-smalltalk mailing list
help-smalltalk@gnu.org
https://lists.gnu.org/mailman/listinfo/help-smalltalk