On 10/03/2012 09:51 AM, Jacob Shin wrote:
Any comments, thoughts? hpa? Yinghai? So it seems that during init_memory_mapping Xen needs to modify page table bits and the memory where the page tables live needs to be direct mapped at that time. Since we now call init_memory_mapping for every E820_RAM range sequencially, the only way to satisfy Xen is to find_early_page_table_space (good_end needs to be within memory already mapped at the time) for every init_memory_mapping call. What do you think Yinghai?
I outlined the sane way to do this at Kernel Summit for Yinghai and several other people. I need to write it up for people who weren't there, but I don't have time right at the moment.
-hpa -- H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/