On Thursday 02 May 2002 02:47, Andrea Arcangeli wrote:
> > - Leads forward to interesting possibilities such as hot plug memory.
> > (Because pinned kernel memory can be remapped to an alternative
> > region of physical memory if desired)
> You cannot handle hot plug with nonlinear, you cannot take the mem_map
> contigous when somebody plugins new memory, you've to allocate the
> mem_map in the new node, discontigmem allows that, nonlinear doesn't.
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/
This archive was generated by hypermail 2b29 : Tue May 07 2002 - 22:00:12 EST