Re: [PATCH] x86, efi: Do not reserve boot services regions withinreserved areas

From: Matthew Garrett
Date: Tue Jun 14 2011 - 11:21:20 EST


On Tue, Jun 14, 2011 at 05:03:14PM +0200, Maarten Lankhorst wrote:

> + /* Could not reserve boot area */
> + if (!size)
> + continue;
> +
> + printk(KERN_INFO PFX "Freeing boot area "
> + "[0x%llx-0x%llx)\n", start, start+size);

Probably don't need the printk - we could be dumping a few hundred of
those.

> - "Kernel-defined memdesc doesn't match the one from EFI!\n");
> + "Kernel-defined memdesc (%lu) "
> + "doesn't match the one from EFI(%lu)!\n",
> + sizeof(efi_memory_desc_t), memmap.desc_size);

And drop this hunk. It's entirely valid for an implementation to do
this, we should just delete the message entirely.

--
Matthew Garrett | mjg59@xxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/