Le 13/09/2017 à 06:04, Alistair Popple a écrit :
+static inline void hash__local_flush_all_mm(struct mm_struct *mm)
+{
+ /*
+* There's no Page Walk Cache for hash, so what is needed is
+* the same as flush_tlb_mm(), which doesn't really make sense
+* with hash. So
> +static inline void hash__local_flush_all_mm(struct mm_struct *mm)
> +{
> + /*
> + * There's no Page Walk Cache for hash, so what is needed is
> + * the same as flush_tlb_mm(), which doesn't really make sense
> + * with hash. So the only thing we could do is flush the
> +
With the optimizations introduced by commit a46cc7a90fd8
("powerpc/mm/radix: Improve TLB/PWC flushes"), flush_tlb_mm() no
longer flushes the page walk cache with radix. This patch introduces
flush_all_mm(), which flushes everything, tlb and pwc, for a given mm.
Signed-off-by: Frederic Barrat