[PATCH v8 3/9] set_memory: allow set_direct_map_*_noflush() for multiple pages

Catalin Marinas catalin.marinas at arm.com
Fri Nov 13 07:26:59 EST 2020


On Tue, Nov 10, 2020 at 05:14:38PM +0200, Mike Rapoport wrote:
> From: Mike Rapoport <rppt at linux.ibm.com>
> 
> 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 at linux.ibm.com>
> ---
>  arch/arm64/include/asm/cacheflush.h |  4 ++--
>  arch/arm64/mm/pageattr.c            | 10 ++++++----

For arm64:

Acked-by: Catalin Marinas <catalin.marinas at arm.com>



More information about the linux-riscv mailing list