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

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

From: Yasunori Goto <hidden>
Date: 2004-06-25 03:12:39
Also in: lkml

I understand this idea at last.
Section size of DLPAR of PPC is only 16MB.
But kmalloc area of virtual address have to be contigous 
even if the area is divided 16MB physically.
Dave-san's implementation (it was for IA32) was same index between 
phys_section and mem_section. So, I was confused.
pfn_to_page(unsigned long pfn)
{
       return
&mem_section[phys_section[pfn_to_section(pfn)]].mem_map[section_offset_pfn(pfn)];
}
But, I suppose this translation might be too complex.
I worry that many person don't like this which is cause of
performance deterioration.
Should this translation be in common code?

Bye.

-- 
Yasunori Goto <ygoto at us.fujitsu.com>


--
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