lkml.org 
[lkml]   [2019]   [Mar]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 4/5] RISC-V: Remove redundant trampoline page table
> 
> - /* 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 to trap to
> * stvec if VA != PA, or simply fall through if VA == PA
> */

If we want to nitpick comments I think this should take about the
page table root or something like that.

Otherwise the idea looks good, but I really think we should do this
before all the changes to the setup_vm code.

\
 
 \ /
  Last update: 2019-03-22 14:35    [W:0.126 / U:0.816 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site