You have not read and understood the patch, which this comment demonstrates.
For your information, the mem_map lives in *virtual* memory, it does not
need to change location, only the kernel page tables need to be updated,
to allow a section of kernel memory to be moved to a different physical
location. For user memory, this was always possible, now it is possible
for kernel memory as well. Naturally, it's not all you have to do to get
hotplug memory, but it's a big step in that direction.
> At the very least you should waste some tons of memory of unused mem_map
> for all the potential memory that you're going to plugin, if you want to
> handle hot-plug with nonlinear.
It's not useful for me to keep correcting you on your misunderstanding of
what config_nonlinear actually does. Please read Jonathan Corbet's
excellent writeup in lwn, it's written in a very understandable fashion.
-- Daniel - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to firstname.lastname@example.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/