Thread (54 messages) 54 messages, 9 authors, 2012-07-24

Re: [PATCH 02/20] mm: Add optional TLB flush to generic RCU page-table freeing

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2012-06-28 12:03:07
Also in: linux-arch, lkml

On Thu, 2012-06-28 at 13:05 +0200, Peter Zijlstra wrote:
quoted
Some embedded ppc's know about the lowest level (SW loaded PMD) but
that's not an issue here. We flush these special TLB entries
specifically and synchronously in __pte_free_tlb().
OK, I missed that.. is that
arch/powerpc/mm/tlb_nohash.c:tlb_flush_pgtable() ?
Yup.
quoted
quoted
So even if the hardware did do speculative tlb fills, it would do
them
quoted
quoted
from the hash-table, but that's already cleared out.
Right,
Phew at least I got the important thing right ;-)
Yeah as long as we have that hash :-) The day we move on (if ever) it
will be as bad as ARM :-)

Cheers,
Ben.


--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help