On Mon, Dec 02, 2024 at 03:54:23PM +0000, James Dingwall wrote: > So there is some undefined range for (free_memory - m) to (free_memory - n) > where it is possible to crash the driver domain depending on the guest > startup ordering. My (perhaps naive) reasoning would be that > free_memory is the resource available to safely assign without having to > allow for some unknown overhead and if I do ask for too much then I > get a 'safe' failure.
FWIW Qubes OS tries to always keep at least 50MB free for Xen. So, our formula is (free_memory - 50MB). -- Best Regards, Marek Marczykowski-Górecki Invisible Things Lab
signature.asc
Description: PGP signature