Re: [PATCH] memory hotplug disable boot option

From: Andi Kleen
Date: Fri Jun 25 2010 - 05:19:21 EST

KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx> writes:

>> Proposed patch to disable memory hotplug via a boot option,
>> mem_hotplug=[on|off]. The patch only disables memory hotplug in that it
>> prevents the creation of the memory sysfs directories for memory sections.
>> This patch is meant to help alleviate very long boot times on systems with
>> large memory (1+ TB) and many memory sections (10's of thousands).
> Why making simple /sys file is so slowly? Couldn't we fix such performance
> problem?

Yes I agree this really needs to be fixed properly, not hacked around
with an option. Nathan can you please post some profile logs of the long
boot times?


ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at