3 ms·
The write protected mode[1], if it ever gets merged could have some interesting uses for GCs. [1] https://lore.kernel.org/patchwork/cover/1033856/ https://lore
by fsfod 7y ago
The write protected mode[1], if it ever gets merged could have some interesting uses for GCs.
[1] https://lore.kernel.org/patchwork/cover/1033856/ https://lore.kernel.org/patchwork/cover/1033856/
- sanxiyn 7y agoI first learned about userfaultfd's utility to GC from https://medium.com/@MartinCracauer/generational-garbage-collection-write-barriers-write-protection-and-userfaultfd-2-8b0e796b8f7f https://medium.com/@MartinCracauer/generational-garbage-coll...
- whateveracct 7y agoI could imagine it being interesting for VMs and DBs too. Imagine a VM whose memory "looks" like virtual memory but under the hood is transparently persisted between invocations.
- fsfod 7y agoThat's kind of one of the main uses of the API so far by QEMU for live migration of VMs by streaming memory on demand over a network https://wiki.qemu.org/Features/PostCopyLiveMigration https://wiki.qemu.org/Features/PostCopyLiveMigration