[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <19d7bde0-6063-c337-994f-0c75cbcfb721@redhat.com>
Date: Fri, 4 Oct 2019 09:33:35 +0200
From: Paolo Bonzini <pbonzini@...hat.com>
To: Rick Edgecombe <rick.p.edgecombe@...el.com>, kvm@...r.kernel.org,
linux-kernel@...r.kernel.org, x86@...nel.org, linux-mm@...ck.org,
luto@...nel.org, peterz@...radead.org, dave.hansen@...el.com,
sean.j.christopherson@...el.com, keescook@...omium.org
Cc: kristen@...ux.intel.com, deneen.t.dock@...el.com
Subject: Re: [RFC PATCH 10/13] x86/mm: Add NR page bit for KVM XO
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
Powered by blists - more mailing lists