[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190823143155.GD2332@hirez.programming.kicks-ass.net>
Date: Fri, 23 Aug 2019 16:31:55 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Christoph Hellwig <hch@....de>
Cc: Catalin Marinas <catalin.marinas@....com>,
Will Deacon <will@...nel.org>, x86@...nel.org,
Dave Hansen <dave.hansen@...ux.intel.com>,
Andy Lutomirski <luto@...nel.org>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 4/6] x86: remove set_memory_x and set_memory_nx
On Tue, Aug 13, 2019 at 11:01:44AM +0200, Christoph Hellwig wrote:
> These wrappers don't provide a real benefit over just using
> set_memory_x and set_memory_nx.
>
> Signed-off-by: Christoph Hellwig <hch@....de>
> ---
> arch/x86/include/asm/set_memory.h | 2 --
> arch/x86/kernel/machine_kexec_32.c | 4 ++--
> arch/x86/mm/init_32.c | 2 +-
> arch/x86/mm/pageattr.c | 16 ----------------
> 4 files changed, 3 insertions(+), 21 deletions(-)
>
> diff --git a/arch/x86/include/asm/set_memory.h b/arch/x86/include/asm/set_memory.h
> index 899ec9ae7cff..fd549c3ebb17 100644
> --- a/arch/x86/include/asm/set_memory.h
> +++ b/arch/x86/include/asm/set_memory.h
> @@ -75,8 +75,6 @@ int set_pages_array_wb(struct page **pages, int addrinarray);
>
> int set_pages_uc(struct page *page, int numpages);
> int set_pages_wb(struct page *page, int numpages);
> -int set_pages_x(struct page *page, int numpages);
> -int set_pages_nx(struct page *page, int numpages);
> int set_pages_ro(struct page *page, int numpages);
> int set_pages_rw(struct page *page, int numpages);
$Subject and patch content don't match up.
Other than that,
Acked-by: Peter Zijlstra (Intel) <peterz@...radead.org>
for all x86 patches.
Powered by blists - more mailing lists