Thread (17 messages) flat view 17 messages, 4 authors, 2017-07-19

Re: [PATCH 3/4] powerpc/mm/radix: Avoid flushing the PWC on every flush_tlb_range

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2017-07-14 06:22:55

On Fri, 2017-07-14 at 11:14 +0530, Aneesh Kumar K.V wrote:
quoted
+     pid = mm ? mm->context.id : 0;
+     if (unlikely(pid == MMU_NO_CONTEXT))
+             goto no_context;
+
+     /* 4k page size, just blow the world */
+     if (PAGE_SIZE == 0x1000) {
+             radix__flush_all_mm(mm);
+             return;
+     }
What is special here ? because it is 4096 tlb flushes ?
Yes, keeping in line with the existing logic in flush_tlb_pages(), more
than 32, do a full flush.

Cheers,
Ben.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help