Re: [PATCH v14 08/14] mm: multi-gen LRU: support page table walks

From: Arnd Bergmann
Date: Fri Oct 28 2022 - 03:28:23 EST


On Fri, Oct 28, 2022, at 01:08, Maciej W. Rozycki wrote:
> On Wed, 26 Oct 2022, Arnd Bergmann wrote:

>> - For the special case of early ARMv6 hardware that has 32-bit
>> atomics but not 64-bit ones, the kernel just falls back to
>> CONFIG_GENERIC_ATOMIC64 and no cmpxchg64(). The same should work
>> for an i486+SMP kernel. It's obviously slower, but most users
>> can trivially avoid this by either running an i686 SMP kernel
>> or an i486 UP kernel.
>
> You meant an M586TSC+ SMP kernel presumably (I have such a machine), but
> otherwise I'd be fine with such an approach too.

Sure. I just gave i686 as the example since that's already the
baseline in 90% of the remaining x86-32 distros. Slackware, ALT
and Mageia are notable exceptions that target i586, and some
others already have separate installers for i486 and i686.
The i586 distros all seem to have separate SMP/PAE kernels in
addition to the minimal i586.

Arnd