Re: [PATCH 1/2] mm: Allow architectures to request 'old' entries when prefaulting
From: Hugh Dickins
Date: Mon Dec 28 2020 - 01:50:13 EST
On Sun, 27 Dec 2020, Linus Torvalds wrote:
> On Sun, Dec 27, 2020 at 3:48 PM Kirill A. Shutemov <kirill@xxxxxxxxxxxxx> wrote:
> >
> > I did what Hugh proposed and it got clear to my eyes. It gets somewhat
> > large, but take a look.
>
> Ok, it's not that much bigger, and the end result is certainly much
> clearer wrt locking.
>
> So that last version of yours with the fix for the uninitialized 'ret'
> variable looks good to me.
>
> Of course, I've said that before, and have been wrong. So ...
And guess what... it's broken.
I folded it into testing rc1: segfault on cc1, systemd
"Journal file corrupted, rotating", seen on more than one machine.
I've backed it out, rc1 itself seems fine, I'll leave rc1 under
load overnight, then come back to the faultaround patch tomorrow;
won't glance at it tonight, but maybe Kirill will guess what's wrong.
Hugh