Re: [PATCH v8 3/9] set_memory: allow set_direct_map_*_noflush() for multiple pages
From: Catalin Marinas
Date: Fri Nov 13 2020 - 07:27:10 EST
On Tue, Nov 10, 2020 at 05:14:38PM +0200, Mike Rapoport wrote:
> From: Mike Rapoport <rppt@xxxxxxxxxxxxx>
>
> The underlying implementations of set_direct_map_invalid_noflush() and
> set_direct_map_default_noflush() allow updating multiple contiguous pages
> at once.
>
> Add numpages parameter to set_direct_map_*_noflush() to expose this ability
> with these APIs.
>
> Signed-off-by: Mike Rapoport <rppt@xxxxxxxxxxxxx>
> ---
> arch/arm64/include/asm/cacheflush.h | 4 ++--
> arch/arm64/mm/pageattr.c | 10 ++++++----
For arm64:
Acked-by: Catalin Marinas <catalin.marinas@xxxxxxx>