Re: [PATCH] proc: export page young and skip_kasan_poison flag via kpageflags

From: Xin Hao
Date: Sat Jun 04 2022 - 05:50:46 EST



On 6/3/22 2:28 AM, Matthew Wilcox wrote:
On Thu, Jun 02, 2022 at 11:43:02PM +0800, Xin Hao wrote:
Now the young and skip_kasan_poison flag are supported in
Why do we want userspace to know about whether skip_kasan_poison is set?
That seems like a kernel-internal detail to me.

the  skip_kasan_poison also a page flags, we use page_types tool to display them not only include user-internal,

but also  kernel-internal, add them, the page-types tool can more detail display the kernel-internal page flags,

just in case we don't miss some page flags when check the whole memory.

-
Best Regards!
Xin Hao