Thread (27 messages) flat view 27 messages, 2 authors, 21h ago

Re: [PATCH RFC v3 13/21] x86: mm: use pgtable_level enum in effective_prot_pXd()

From: Yeoreum Yun <hidden>
Date: 2026-09-07 08:06:34
Also in: kvm, kvm-riscv, linux-arch, linux-mm, linux-riscv, lkml, loongarch

On Wed, Sep 02, 2026 at 01:48:03PM -0700, Dave Hansen wrote:
On 9/2/26 04:56, Yeoreum Yun wrote:
quoted
Instead of using hard-coded integer in effective_prot_pXd(), use
pgtable level enum.
Does this actually *do* anything? ;)

I guess it's nice to have a wee bit of type safety from the enum and it
means that you don't have to *know* which level number a PUD is, for
example.

Either way:

Acked-by: Dave Hansen <dave.hansen@linux.intel.com>
Thanks!

-- 
Sincerely,
Yeoreum Yun
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help