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. -- -- To unsubscribe from this list: send the line "unsubscribe linux-efi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html