I asked my colleagues in the kernel group, this page size may change.
That there is a macro BIG_PAGE_SIZE comment in vtv-change-permission.h
written like this:"Replace '4096' below with correct big page size."
I understand that this is to get the page size at runtime, but I don't
see where this macro is used,
is there something wrong with my understanding?
在 2022/9/26 下午1:38, Xi Ruoyao 写道:
On Mon, 2022-09-26 at 10:00 +0800, Lulu Cheng wrote:
Co-Authored-By: qijingwen <qijing...@rd.loongson.cn>
include/ChangeLog:
* vtv-change-permission.h (defined):
(VTV_PAGE_SIZE): 16k pages under loongarch64.
We have 4KB, 16KB, and 64KB page configurations, so is it possible to
support all of them without too much overhead? If not, supporting only
16KB is OK as it's the default.