On Fri, Mar 22, 2019 at 7:03 PM Christoph Hellwig wrote:
>
> >
> > - /* Compute satp for kernel page tables, but don't load it yet */
> > + /* Compute satp for kernel page directory, but don't load it yet */
>
>
> > /*
> > - * Load trampoline page directory, which will cause us
>
> - /* Compute satp for kernel page tables, but don't load it yet */
> + /* Compute satp for kernel page directory, but don't load it yet */
> /*
> - * Load trampoline page directory, which will cause us to trap to
> + * Load kernel page directory, which will cause us
The trampoline page table is redundant because:
1. There is no mapping in trampoling page table which is not covered
by swapper page table.
2. The relocate() in head.S will first load trampoline page table and
after that it will load swapper page table. Same thing can be achieved
by strai
3 matches
Mail list logo