Re: [patch 2/3] Add flags parameter to reserve_bootmem_generic()

From: Vivek Goyal
Date: Mon Jun 09 2008 - 16:54:51 EST


On Mon, Jun 09, 2008 at 10:42:11PM +0200, Bernhard Walle wrote:
> Hi Vivek,
>
> * Vivek Goyal <vgoyal@xxxxxxxxxx> [2008-06-09 16:29]:
> >
> > Can you please put some more explanation comment here to explain that
> > why it is ok to return with success, despite the fact that we never
> > reserved any memory.
>
> Do you think that's ok?
>
> When booting the kdump kernel, the MP tables (for example,
> or other firmware-reserved memory) of the BIOS are beyond
> end_pfn. (kexec-tools adds exactmap parameters to the kernel
> so that the E820 map is no longer used.) Therefore, it's ok
> to return "success" here. For normal boot, the MP tables
> must be reserved normally.
>

Looks good. Thanks

Vivek
--
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/