Notes from March 23, 2026
Subsystems (3)
Hi everybody,
Here are the notes from the last Hypervisor Live Update call that happened on Monday, March 23. Thanks to everybody who was involved!
These notes are intended to bring people up to speed who could not attend the call as well as keep the conversation going in between meetings.
----->o-----
Pasha updated on the status of luod and a good conversation with Luca who is interested in integration. Luca had proposed to do it in phases with the first phase being support for systemd logging during shutdown when devices are unmounted. Luod will require preserving the logs and passing them to the next kernel and next systemd. He was also interested in the next LPC discussion on the topic.
Pasha also updated that there are new tabs added to the design doc[1], this will be expanded for systemd and its communication channel. The plan is to have 100% integration into systemd.
Jork Loeser noted in his discussions that systemd was very adamant about supporting fd store and asked to what extent we need multiple sessions per service. This would include the LUO client interface as well. Pasha noted there were discussions on how many files per session we can save, for example, and added a limits tab to the design doc. Right now, it's about 128 files and a thousand sessions. In the future, the file and session count limits should be removed entirely. Jork was asking about whether systemd should expose an interface to the clients where the yget explicitly tied and create multiple sessions, or whether the interface was just fd store. Pasha said the plan was that systemd would expose the sessions interface so clients can create new sessions.
Pasha said next steps include getting the design ready and then the first implementation for systemd logging. The latter would be implemented before the next LPC.
----->o-----
We chatted about deferred struct page initialization. The patches are not yet ready to be merged so we would follow up next time.
Pasha noted that Pratyush and Jork had discussed scalability of memblock reservations. Jork said a couple approaches were discussed one of which is to move the quadratic initialization or setup of the memblock list to be linear. This would allow us to interate over the struct pages as well as the KHO tree to avoid restoring the memblock list. There was also an idea to side-step the memblock entirely and to use the buddy allocator.
Pasha asked about the proposed changes to the radix tree: if we move the order then the bit in the bitmap at the leaf levels would not represent the order size but rather represent the page size. So the memory overhead could be much larger.
Pasha suggested allowing the scratch areas to grow when needed by finding the biggest hole in the radix tree, this could help to solve some scalability problems.
----->o-----
David Matlack updated on VFIO v3 which is pretty much done and is going through final testing for posting this week. v4 should include a roadmap for what comes next. Starting at v4, the series may get split into two:
PCI patches are growing so it may make sense to split PCI and VFIO patches. Most of the code is behind config options that should help with merging as well as the new documentation that should also move this along.
----->o-----
Samiullah updated on IOMMU persistence: his series is getting reviews upstream. He's preparing for the next verison of the series. There was no update on the hitless replacement, this would be worked on next. There was a comment that we should standardize on naming in the tree between LU shorthand and using liveupdate as a single word.
----->o-----
Ackerley updated on the UAPI for guest_memfd HugeTLB enligthenment, he is still working on the conversion support. That work is pushing out into April.
----->o-----
Next meeting will be on Monday, April 6 at 8am PDT (UTC-7), everybody is
welcome: https://meet.google.com/rjn-dmzu-hgq
Topics for the next meeting:
- luod design feedback and intersection with systemd; implementation and next steps
- KHO optimizations for boot time performance including initialization of memblock list and deferred struct page initialization
- HugeTLB preservation support including selftests
+ debrief discussion from Linux MM Alignment Session
- VFIO v3 patch series posting to the list and roadmap for v4
- phase 1 of IOMMU persistence patch series, then phase 2 status and updates
- hitless replacement for iommu domains and patches from Intel
- guest_memfd HugeTLB enlightenment: conversion support, HugeTLB support without restructuring, and HugeTLB support with restructuring
- later: versioning support for luod to negotiate
- later: ordering issues when disabling interrupts based on feedback from Nvidia
- later: update on PCI preservation series and next steps
- later: KHO enlightenment for ASI
Please let me know if you'd like to propose additional topics for discussion, thank you!