Re: [PATCH] x86: use add_highpages_with_active_regions for highpages init

From: Huang, Ying
Date: Mon Jun 16 2008 - 01:35:16 EST


On Sun, 2008-06-15 at 20:46 -0700, Yinghai Lu wrote:
[...]
> don't need,
> EFI memmap should be reserved in e820map, so it should not show up in
> early_node_map.

I don't think so. EFI memmap comes from boot-loader not from BIOS. It
contains boot-loader execution information (such as EfiLoaderCode,
EfiLoaderData, etc), and it will be located at different position for
each system reboot.

If it is reserved in E820 memmap, hibernation can not work. Because the
memory area for EFI memmap is not E820 RAM, it is not saved during
hibernating and restored after restoring from disk.

Linked list of struct setup_data has similar requirement too.

Best Regards,
Huang Ying

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