Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp7209653imm; Wed, 27 Jun 2018 23:05:34 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKTf6ueXIs2qk+QYveEtcdksfDk+AVm04IrzIM7uvGFLAlIOlKHgeSzzvlD4ubEAE8d9Hn0 X-Received: by 2002:a17:902:9a95:: with SMTP id w21-v6mr9163949plp.168.1530165934294; Wed, 27 Jun 2018 23:05:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530165934; cv=none; d=google.com; s=arc-20160816; b=qoKWjE9+ofljA8ndFu0KqLY9DHKM60wMwex7oOZW729tQgoRPVuejhrQ2I0trRm5+n t22tWnr3bxvWX+tCaijjs1dzq4TnBDen+u9HbEZGmskU+i7je1CBVfGbUyB3c63sEMVE 9oysNo5Fl/BjYDEq8k3uwekCJfhOKJZRiFQXNdINHQpA6NSqMMwjcyfOya8sqLOLnuEV fLXs1INSSrB2xNopo7nsMvY4mgfBd/AoXeUh9Z0XUkUtlzH2lFyT/gCcyYKwi/tpR5Qc ZrHGlRpVJbyTFwYahMsUmm2/rNe3Plg2k9YBDGhmRkyllWfZUVZLmerykFaNd8swXQJ2 M/EQ== 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=QacDed+Ob/BQcnIRkGKzqlUj9Mr7FTbiv3UJe8IteKc=; b=NhAf1MTK9obTNngtqZhfSaKy1FSmTUsvJsi6pQp04W26OfXBg/DMe3Pgt0/QNrM7k+ 64tIDaDQTwzNndlMFrTB0EyLryJo9uI4z2MJSqVeoj2qIldJ9R8n9oBLED9P8gi8BMrW ayG4tM9BLCluWdoJSn8H/qr6GtIYAwzjygjsHIuLOY8IenAGJ7Orc6O9dolk5RROLC76 5PJjB+hGbDdRB0HX3iGv2oY8FKCPQjDV6qQXkAGetcPzVBiJC8vaifDBUAivWb/iYFQw JL4n6KFsRvJCLuTTnmUHQsAnWe8A8vYbgsjDxEiKh640mF2yc41p8A2JDnatqNnLfr7j grMw== 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 d26-v6si5268055pge.330.2018.06.27.23.05.19; Wed, 27 Jun 2018 23:05:34 -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 S932831AbeF1FfU (ORCPT + 99 others); Thu, 28 Jun 2018 01:35:20 -0400 Received: from mga01.intel.com ([192.55.52.88]:58187 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752962AbeF1FfS (ORCPT ); Thu, 28 Jun 2018 01:35:18 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Jun 2018 22:35:17 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,282,1526367600"; d="scan'208";a="60754453" Received: from yhuang-dev.sh.intel.com (HELO yhuang-dev) ([10.239.13.118]) by FMSMGA003.fm.intel.com with ESMTP; 27 Jun 2018 22:35:16 -0700 From: "Huang\, Ying" To: Andrew Morton Cc: , , 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> <87r2krfpi2.fsf@yhuang-dev.intel.com> <20180627223118.dd2f52d87f53e7e002ed0153@linux-foundation.org> Date: Thu, 28 Jun 2018 13:35:15 +0800 In-Reply-To: <20180627223118.dd2f52d87f53e7e002ed0153@linux-foundation.org> (Andrew Morton's message of "Wed, 27 Jun 2018 22:31:18 -0700") Message-ID: <87muvffp7w.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 Andrew Morton writes: > On Thu, 28 Jun 2018 13:29:09 +0800 "Huang\, Ying" wrote: > >> Andrew Morton writes: >> >> > 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 :( >> > >> > And it depends upon your >> > mm-swap-fix-race-between-swapoff-and-some-swap-operations.patch and >> > mm-fix-race-between-swapoff-and-mincore.patch, the first of which has >> > been floating about since February without adequate review. >> > >> > I'll give this patchset a spin in -mm to see what happens and will come >> > back later to take a closer look. But the best I can do at this time >> > is to hopefully cc some possible reviewers :) >> >> Thanks a lot for your help! Hope more people can review it! > > I took it out of -mm again, temporarily. Due to a huge tangle with the > xarray conversions in linux-next. No problem. I will rebase the patchset on your latest -mm tree, or the next version to be released? Best Regards, Huang, Ying