Re: And another patch...

2021-05-08 Thread Sergey Bugaev
On Sat, May 8, 2021 at 2:36 PM Samuel Thibault wrote: > > Hello, > > Just to be sure: this is not only because of your previous patch > libpager: Do not flush in-core pages on offer > ? Yes; this issue is completely orthogonal to that fix (but there's an interesting interaction I haven't thought

Re: And another patch...

2021-05-08 Thread Samuel Thibault
Hello, Just to be sure: this is not only because of your previous patch libpager: Do not flush in-core pages on offer ? Samuel Sergey Bugaev, le jeu. 06 mai 2021 20:58:29 +0300, a ecrit: > There's yet another bug: libpager just throws away clean precious > pages (those previously offered with pa

And another patch...

2021-05-06 Thread Sergey Bugaev
There's yet another bug: libpager just throws away clean precious pages (those previously offered with pager_offer_page (precious = 1)) upon receiving them from the kernel, since it mistakes them for evicted pages it's being notified about. This is obviously very problematic. I'm attaching a patch