Re: [RFC PATCH 10/13] x86/mm: Add NR page bit for KVM XO
From: Paolo Bonzini
Date: Fri Oct 04 2019 - 03:33:45 EST
On 03/10/19 23:23, Rick Edgecombe wrote:
> +/* KVM based not-readable: only valid after cpuid check */
> +#define _PAGE_BIT_NR (__pgtable_kvmxo_bit)
> +#else /* defined(CONFIG_KVM_XO) && !defined(__ASSEMBLY__) */
> +#define _PAGE_BIT_NR 0
> +#endif /* defined(CONFIG_KVM_XO) && !defined(__ASSEMBLY__) */
Please do not #define _PAGE_BIT_NR and _PAGE_NR, so that it's clear that
they are variables.
Paolo