Re: [PATCH] (urgent) ppc32: Fix CPUs with soft loaded TLB

From: Linus Torvalds
Date: Sun Jun 06 2004 - 16:21:57 EST




On Sun, 6 Jun 2004, Benjamin Herrenschmidt wrote:
>
> The recent introduction of ptep_set_access_flags() with the optimisation
> of not flushing the TLB unfortunately broke ppc32 CPUs with no hash table.

Makes sense, applied.

However, wouldn't it make sense to have this on the ppc64 branch too?

Admittedly on ppc64, the flush_tlb_page_nohash() function would be a
no-op, since it always has the hash tables, but I'm a blue-eyed optimists,
and I'm still hoping that some day IBM will see the error of their ways,
and get rid of the hash tables entirely. At which point ppc64 too will
need to flush the TLB entry.

Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/