HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by whateveracct | Hacker News Reader
Full thread
whateveracct
·
userfaultfd is an extremely intriguing hammer :)
View on HN
fsfod
·
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/
sanxiyn
·
I first learned about userfaultfd's utility to GC from
https://medium.com/@MartinCracauer/generational-garbage-coll...
whateveracct
·
I 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
·
That'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
Reply on news.ycombinator.com