Re: [PATCH -mm -v3] mm, swap, frontswap: Fix THP swap if frontswap enabled

From: Sergey Senozhatsky
Date: Sun Feb 11 2018 - 21:28:19 EST


Hello,

On (02/09/18 13:03), Andrew Morton wrote:
[..]
> > Frontswap has multiple backends, to make it easy for one backend to
> > enable THP support, the THP checking is put in backend frontswap store
> > functions instead of the general interfaces.
> >
> > Fixes: bd4c82c22c367e068 ("mm, THP, swap: delay splitting THP after swapped out")
> > Reported-by: Sergey Senozhatsky <sergey.senozhatsky@xxxxxxxxx>
> > Tested-by: Sergey Senozhatsky <sergey.senozhatsky@xxxxxxxxx>
>
> I don't think Sergey has tested this version and I suspect this is a
> holdover from the earlier patch, so I'll remove this line.

Just tested it (v3) with FRONTSWAP enabled (didn't test XEN tmem).
Works fine.

FWIW
Tested-by: Sergey Senozhatsky <sergey.senozhatsky@xxxxxxxxx> # frontswap

-ss