Re: [PATCH] mips/mm: Add page soft dirty tracking

From: Thomas Bogendoerfer
Date: Mon Apr 27 2020 - 05:30:47 EST


On Sun, Apr 26, 2020 at 07:09:26PM +0200, Paul Cercueil wrote:
> >> arch/mips/Kconfig | 1 +
> >> arch/mips/include/asm/pgtable-bits.h | 8 ++++--
> >> arch/mips/include/asm/pgtable.h | 48
> >>++++++++++++++++++++++++++++++++++--
> >
> >this breaks all 32bit builds where CPU support RIXI, because it overflows
> >pgtable_bits.
>
> I think we'd need to make PTEs 64-bit at some point.

I'm taking patches ;-) Any idea how much performance impact we might
see by this ?

Thomas.

--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]