Messages in this thread | | | Date | Wed, 18 Dec 2013 12:42:29 +0100 | From | Borislav Petkov <> | Subject | Re: [PATCH 3/3] efi: Make efi virtual runtime map passing more robust |
| |
On Wed, Dec 18, 2013 at 05:07:57PM +0800, Dave Young wrote: > How about firstly count the md numbers in the 1st loop, then > get/roundup the total size, alloc the pages, map the mds one by one in > another loop.
No need as most systems would never need to reallocate. Even on Toshi's big system, the mds fit in less than one page - having a second one is an additional safeguard, i.e. 2 pages should be more than enough in the majority of the cases.
-- Regards/Gruss, Boris.
Sent from a fat crate under my desk. Formatting is fine. --
| |