Skip to contentSkip to conversation

x86, mm: Make init_mem_mapping be able to be called several times

PATCH Konrad Wilk 3 participants 3 messages Apr 12, 2013

lore
Share & tools
lore
#0 lore raw
Quoted 9 lines · ----- [email protected] wrote:

Prepare to put page table on local nodes.

Move calling of init_mem_mapping to early_initmem_init.

Rework alloc_low_pages to alloc page table in following order:
BRK, local node, low range

Still only load_cr3 one time, otherwise we would break xen 64bit again.

I have asked you in the previous iteration of the patch to fix that comment.

Please remove it - as it is misleading. The issue with load_cr3 more than once has been fixed under the Xen platform.

#1 lore raw
Quoted 7 lines · Konrad Wilk
Quoted 4 lines · ----- [email protected] wrote:

Prepare to put page table on local nodes.

Move calling of init_mem_mapping to early_initmem_init.

Quoted 7 lines
Quoted 5 lines

Rework alloc_low_pages to alloc page table in following order:
BRK, local node, low range

Still only load_cr3 one time, otherwise we would break xen 64bit again.

I have asked you in the previous iteration of the patch to fix that comment.

Maybe it is not clear enough.

Quoted 3 lines

Please remove it - as it is misleading. The issue with load_cr3 more than once has been fixed under the Xen platform.

Peter, can you remove those two lines?
or need to resend -v5?

Thanks

Yinghai

#2 lore raw

Please send a replacement patch.

Quoted 31 lines · Yinghai Lu
Quoted 7 lines · Konrad Wilk
Quoted 4 lines · ----- [email protected] wrote:

Prepare to put page table on local nodes.

Move calling of init_mem_mapping to early_initmem_init.

Quoted 7 lines
Quoted 5 lines

Rework alloc_low_pages to alloc page table in following order:
BRK, local node, low range

Still only load_cr3 one time, otherwise we would break xen 64bit again.

I have asked you in the previous iteration of the patch to fix that

comment.

Maybe it is not clear enough.

Quoted 2 lines

Please remove it - as it is misleading. The issue with load_cr3 more

than

Quoted 1 line

once has been fixed under the Xen platform.

Peter, can you remove those two lines?
or need to resend -v5?

Thanks

Yinghai

Signature · 1 line
Sent from my mobile phone. Please excuse brevity and lack of formatting.