On Thu, Apr 03, 2025 at 01:29:16PM +0200, Jan Beulich wrote: > On 03.04.2025 13:04, Marek Marczykowski-Górecki wrote: > > It fails on larger initramfs (~250MB one) and sometimes even smaller > > depending on memory size/memory map, let Linux do it. > > Iirc grub only unpacks gzip-ed modules, so wouldn't a yet better approach > be to use a better compressing algorithm, which simply as a side effect > would keep grub from decompressing it, while at the same time moving > farther away from any critical boundaries?
That should also make the test faster (if it's a significant difference). OTOH likely we wouldn't have found the issue with map_pages_to_xen(). -- Best Regards, Marek Marczykowski-Górecki Invisible Things Lab
signature.asc
Description: PGP signature