[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <df5344a2-f28d-7828-b76b-107dc24be2dd@linux.intel.com>
Date: Mon, 5 Mar 2018 11:23:27 -0800
From: Dave Hansen <dave.hansen@...ux.intel.com>
To: Khalid Aziz <khalid.aziz@...cle.com>, akpm@...ux-foundation.org,
davem@...emloft.net
Cc: mhocko@...e.com, jack@...e.cz, kirill.shutemov@...ux.intel.com,
ross.zwisler@...ux.intel.com, willy@...radead.org,
hughd@...gle.com, n-horiguchi@...jp.nec.com, mgorman@...e.de,
jglisse@...hat.com, dave.jiang@...el.com, dan.j.williams@...el.com,
anthony.yznaga@...cle.com, nadav.amit@...il.com,
zi.yan@...rutgers.edu, aarcange@...hat.com,
khandual@...ux.vnet.ibm.com, aneesh.kumar@...ux.vnet.ibm.com,
henry.willard@...cle.com, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, sparclinux@...r.kernel.org,
Khalid Aziz <khalid@...ehiking.org>
Subject: Re: [PATCH v12 08/11] mm: Clear arch specific VM flags on protection
change
On 02/21/2018 09:15 AM, Khalid Aziz wrote:
> +/* Arch-specific flags to clear when updating VM flags on protection change */
> +#ifndef VM_ARCH_CLEAR
> +# define VM_ARCH_CLEAR VM_NONE
> +#endif
> +#define VM_FLAGS_CLEAR (ARCH_VM_PKEY_FLAGS | VM_ARCH_CLEAR)
Shouldn't this be defining
# define VM_ARCH_CLEAR ARCH_VM_PKEY_FLAGS
on x86?
Powered by blists - more mailing lists