[lkml]   [2002]   [May]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Bug: Discontigmem virt_to_page() [Alpha,ARM,Mips64?]
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.

Eh. No.

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.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:22    [W:0.171 / U:0.396 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site