+ Caroline (the author or libvtv, I hope the email address is still
active).

On Tue, 2022-09-27 at 10:37 +0800, Lulu Cheng wrote:
> 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?

Frankly, I've never used libvtv (Linux From Scratch does not --enable-
vtable-verify).  But if I understand correctly, we can set "65536" here
and *I guess* the result will be able to function on 4/16/64 KB pages
(but with some performance overhead on 4/16 KB).

"BIG_PAGE_SIZE" seems not defined anywhere in GCC...

-- 
Xi Ruoyao <xry...@xry111.site>
School of Aerospace Science and Technology, Xidian University

Reply via email to