lkml.org 
[lkml]   [2018]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH -mm -v4 00/21] mm, THP, swap: Swapout/swapin THP in one piece
Date
Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> writes:

> On (06/27/18 21:51), Andrew Morton wrote:
>> On Fri, 22 Jun 2018 11:51:30 +0800 "Huang, Ying" <ying.huang@intel.com> wrote:
>>
>> > This is the final step of THP (Transparent Huge Page) swap
>> > optimization. After the first and second step, the splitting huge
>> > page is delayed from almost the first step of swapout to after swapout
>> > has been finished. In this step, we avoid splitting THP for swapout
>> > and swapout/swapin the THP in one piece.
>>
>> It's a tremendously good performance improvement. It's also a
>> tremendously large patchset :(
>
> Will zswap gain a THP swap out/in support at some point?
>
>
> mm/zswap.c: static int zswap_frontswap_store(...)
> ...
> /* THP isn't supported */
> if (PageTransHuge(page)) {
> ret = -EINVAL;
> goto reject;
> }

That's not on my TODO list. Do you have interest to work on this?

Best Regards,
Huang, Ying

\
 
 \ /
  Last update: 2018-07-04 04:20    [W:0.187 / U:19.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site