Thread (38 messages) 38 messages, 4 authors, 2016-02-21

Re: [PATCH V3 01/30] mm: Make vm_get_page_prot arch specific.

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2016-02-21 00:32:26
Also in: linux-mm

On Fri, 2016-02-19 at 08:10 +0530, Aneesh Kumar K.V wrote:
I was hoping to do that after this series. Something similar to

https://github.com/kvaneesh/linux/commit/0c2ac1328b678a6e187d1f2644a007204c59a047

"
powerpc/mm: Add helper for page flag access in ioremap_at

Instead of using variables we use static inline which get patched during
boot to either hash or radix version.
"

That gives us a base to revert patches if we find issues with hash and
still have a working radix base. So idea is to introduce radix with minimal
changes to hash and then consolidate hash and radix as much as we can by
updating hash linux format.
It's too much churn. In the end, that adds more risk than it removes and
makes it harder to follow what's going on.

I'd say first change hash to use the radix PTE format, then add radix.

Maybe just wait for Paulus patches ?

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