risc-v/arch.h: revising comments

This revises comments about page tables to help understanding.

Signed-off-by: Yanfeng Liu <yfliu2008@qq.com>
This commit is contained in:
Yanfeng Liu 2024-03-25 15:43:04 +08:00 committed by Xiang Xiao
parent 6a6798ed31
commit 56b125bb82
1 changed files with 3 additions and 2 deletions

View File

@ -64,8 +64,9 @@
/* A task group must have its L1 table in memory always, and the rest can
* be dynamically committed to memory (and even swapped).
*
* In this implementation every level tables besides the final level N are
* kept in memory always, while the level N tables are dynamically allocated.
* In this implementation level tables except the final level N are always
* kept in static memory, while the level N tables are always dynamically
* allocated. There is one static page per level in `spgtables[]`.
*
* The implications ? They depend on the MMU type.
*