On Sat, 2020-02-01 at 08:04:31 UTC, Christophe Leroy wrote:
> When flushing any memory range, the flushing function
> flushes all TLBs.
>
> When (start) and (end - 1) are in the same memory page,
> flush that page instead.
>
> Signed-off-by: Christophe Leroy
Applied to powerpc next, thanks.
Le 01/02/2020 à 09:04, Christophe Leroy a écrit :
When flushing any memory range, the flushing function
flushes all TLBs.
When (start) and (end - 1) are in the same memory page,
flush that page instead.
Signed-off-by: Christophe Leroy
Reviewed-by: Segher Boessenkool
---
v2: Reworked
When flushing any memory range, the flushing function
flushes all TLBs.
When (start) and (end - 1) are in the same memory page,
flush that page instead.
Signed-off-by: Christophe Leroy
---
v2: Reworked the test as the previous one was always false (end - start was
PAGE_SIZE - 1 for a single