Re: [PATCH 4/4] mm/hotplug: mark memory hotplug code in page_alloc.c as __meminit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 05 Jul 2012 at 09:45 GMT, Jiang Liu <jiang.liu@xxxxxxxxxx> wrote:
> Mark functions used by both boot and memory hotplug as __meminit to reduce
> memory footprint when memory hotplug is disabled.
>
> Alos guard zone_pcp_update() with CONFIG_MEMORY_HOTPLUG because it's only
> used by memory hotplug code.
>

If so, why not move it to mm/memory_hotplug.c and make it static?

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]