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@gmail.com Tested-by: Sergey Senozhatsky sergey.senozhatsky@gmail.com
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@gmail.com # frontswap
-ss