Thread (16 messages) 16 messages, 3 authors, 2004-06-25

Re: [Lhms-devel] Re: Merging Nonlinear and Numa style memory hotplug

From: Dave Hansen <hidden>
Date: 2004-06-25 20:51:58
Also in: lkml

On Fri, 2004-06-25 at 13:45, Yasunori Goto wrote:
quoted
quoted
Are you sure that all architectures need phys_section?
You don't *need* it, but the alternative is a scan of the mem_section[]
array, which would be much, much slower.

Do you have an idea for an alternate implementation?
I didn't find that scan of the mem_section[] is necessary.
I thought just that mem_section index = phys_section index.
May I ask why scan of mem_section is necessary?
I might still have misunderstood something.
For now, the indexes happen to be the same.  However, for discontiguous
memory systems, this will not be the case

mem | phys
----+-----
    | 
    | 
    | 
    | 

-- Dave

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help