Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp287020imm; Tue, 3 Jul 2018 19:21:25 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcIk1aqT0RosYFJ2fO8vzD9/zV4tICFUlQTY1KEXHh5j5pvNtrQEXfXhuWOIPX6FE+iPEek X-Received: by 2002:a17:902:b7c5:: with SMTP id v5-v6mr193591plz.30.1530670885471; Tue, 03 Jul 2018 19:21:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530670885; cv=none; d=google.com; s=arc-20160816; b=Tjc+7nDS1jzogN9McnD2PpweSsOBUnMMvFSY/+sTaGGMm9xwjpLa0h3NwoE8AAHZ5u JrT2hj17tFpyNCLqYxJnOZYv02fh76prQo4IFwrAeeRQ1bRN4PCP94NytuSkUUbds+2C J5J9if2f3CNUld8yuAZ8wiQrf7nXy74M2ttOnZ+ZcIrjC5GFqPJ+VwYWhEBjb5P44Zrf ByKcdB1T7mq/hhKIZLuON/Atnjf5v5B98HMK1+RmM2O+U4NW7CckKbgzZxjP/aHjwC8v sBtjA0+y2aBaI4FBlD6do5yVvs8bV+TqbIjls4S823+RV9Rh4H0w+TkIyJ72poFnFwJI jB1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from :arc-authentication-results; bh=KRU36S/+7HT+kLHBC5TeVmzleQYsQNEscB6/5YHlqYo=; b=YXeTdawhGirG6KxrXVGxJ55UXluFnS+68KExEAPKxyN/5LV8dJZNjmezguY1FOPtUB x2RiOR1tZIX0dvzL4vSUL8Dxh4JP9Zsn2MmoiXfF2qs0LPb9tBN5DU9UloH3DNGqHn29 GLzE+XT9ZZsz7vzscjv51CMM/mUJI9cNlDzxL+/XXmjld3EnSOHsGzEv5bJmd/Gd5J9T UhQOyFo0qX/KHHcemZzmBfH0lx+Fp9kXy6DKIx6Ub6ILOIes2ugTF/KPscIROHM1zdLO LPTOvyp/YZ9WkF9pd9dqTXv/0VjCMPo+/8Xx8ad+teOygxgSJ4DwrPq2wrTXQ66oNK3b ISvw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r14-v6si2304164pgl.490.2018.07.03.19.21.08; Tue, 03 Jul 2018 19:21:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932944AbeGDCU3 (ORCPT + 99 others); Tue, 3 Jul 2018 22:20:29 -0400 Received: from mga07.intel.com ([134.134.136.100]:18710 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932786AbeGDCU2 (ORCPT ); Tue, 3 Jul 2018 22:20:28 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Jul 2018 19:20:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,306,1526367600"; d="scan'208";a="237675891" Received: from yhuang-dev.sh.intel.com (HELO yhuang-dev) ([10.239.13.118]) by orsmga005.jf.intel.com with ESMTP; 03 Jul 2018 19:20:26 -0700 From: "Huang\, Ying" To: Sergey Senozhatsky Cc: Andrew Morton , , , Hugh Dickins , "Kirill A. Shutemov" , Daniel Jordan Subject: Re: [PATCH -mm -v4 00/21] mm, THP, swap: Swapout/swapin THP in one piece References: <20180622035151.6676-1-ying.huang@intel.com> <20180627215144.73e98b01099191da59bff28c@linux-foundation.org> <20180704021153.GA3346@jagdpanzerIV> Date: Wed, 04 Jul 2018 10:20:25 +0800 In-Reply-To: <20180704021153.GA3346@jagdpanzerIV> (Sergey Senozhatsky's message of "Wed, 4 Jul 2018 11:11:53 +0900") Message-ID: <878t6rvj12.fsf@yhuang-dev.intel.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=ascii Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Sergey Senozhatsky writes: > On (06/27/18 21:51), Andrew Morton wrote: >> On Fri, 22 Jun 2018 11:51:30 +0800 "Huang, Ying" 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