Re: [PATCH v19 3/8] set_memory: allow set_direct_map_*_noflush() for multiple pages

From
Mike Rapoport <rppt@kernel.org>
Date
2021-05-16 07:13:41
Also in
linux-arch, linux-arm-kernel, linux-fsdevel, linux-kselftest, linux-mm, linux-riscv, lkml
Reply to
David Hildenbrand, 2021-05-14
On Fri, May 14, 2021 at 10:43:29AM +0200, David Hildenbrand wrote:
On 13.05.21 20:47, Mike Rapoport wrote:
quoted
From: Mike Rapoport <redacted>

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.
AFAIKs, your patch #5 right now only calls it with 1 page, do we need this
change at all? Feels like a leftover from older versions to me where we
could have had more than a single page.
Right, will drop it. 

-- 
Sincerely yours,
Mike.
Thread (32 messages) 32 messages, 6 authors, last reply 2021-05-19
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help