Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp7225013imm; Wed, 27 Jun 2018 23:25:51 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKTszrd2E8Bw/lIgIUJ0m+FrQEFGtKKF5Oum3YzB2Af5khwIz0E8R6/rIACG3WymMvtKelE X-Received: by 2002:a65:660a:: with SMTP id w10-v6mr7581881pgv.366.1530167151444; Wed, 27 Jun 2018 23:25:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530167151; cv=none; d=google.com; s=arc-20160816; b=W0P5/1A1wn90C99HpxqRHKfgX4bh6mj7f8RzAE+xwuzUde6lTjQNjbSHHTz9hPT+2I avyZc31B7AOkNjjS4NAQZNH5Ox7FUhZz33l1XuifOEb5VjlUJnL+o5KKaDPCEr2zy+zh h9OI2puhAl4AnwKSqlU72OAFnCqhc04bwpFnGh/OKU/frol96UAH9GNzNuWI52MnWQ1L saeUyOsuCJTacZGwJNc7keA6GVoGLJlGPVnOfjhMiyb/K1Ubrbhxh5G1mz1Jlx3GfQhb 60+hwozLcRgIEDiF6S6LtYFkIsGmh1I/207aE2dCVMbQXmoA59ZpUjCHhpDSGmFYPveY WCgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :arc-authentication-results; bh=CqVjMznPeagxEdyyBDakOKYGrBGn3LXQaQs9WPeEGI0=; b=Bfr8/Mi2lMhKwdwDr1dd3L7p0b5DzeVxw5FiuVaDRQ6GQM/VQU9mJG5hrSm8iJjwS3 O3xFk6Bp9slhC6Uya3Aq+S9c4IjXO4MOxeHuXaeTdvJCpxuPfXjmXrir04b2rlqRBr5f cdu7E3+bl3h+68kXVEfD1sgkr0icfXEe90n/GOkeHqsLhzGyWydeC9bYYosqxBKoT6SH Imrx+jUU+g0LRT2decMPZ5xV1ytDc/RkNoGU3dFTS9uE55ojbqjpSLBsrIcdzeY3m/ug Nd071i15I2NR9s+/TanI2KWRnXDT+Vnalup0R2a026yzCBAN5hTnmC8TXpCRK2ErT3DK WiOQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j61-v6si6139461plb.68.2018.06.27.23.25.37; Wed, 27 Jun 2018 23:25:51 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753550AbeF1GSm (ORCPT + 99 others); Thu, 28 Jun 2018 02:18:42 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:50702 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750820AbeF1GSl (ORCPT ); Thu, 28 Jun 2018 02:18:41 -0400 Received: from localhost.localdomain (c-24-4-125-7.hsd1.ca.comcast.net [24.4.125.7]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 80937BD8; Thu, 28 Jun 2018 06:18:40 +0000 (UTC) Date: Wed, 27 Jun 2018 23:18:39 -0700 From: Andrew Morton To: "Huang\, Ying" Cc: , , Hugh Dickins , "Kirill A. Shutemov" , Daniel Jordan , Matthew Wilcox Subject: Re: [PATCH -mm -v4 00/21] mm, THP, swap: Swapout/swapin THP in one piece Message-Id: <20180627231839.e5ac2f38e0397979d3db7765@linux-foundation.org> In-Reply-To: <87muvffp7w.fsf@yhuang-dev.intel.com> References: <20180622035151.6676-1-ying.huang@intel.com> <20180627215144.73e98b01099191da59bff28c@linux-foundation.org> <87r2krfpi2.fsf@yhuang-dev.intel.com> <20180627223118.dd2f52d87f53e7e002ed0153@linux-foundation.org> <87muvffp7w.fsf@yhuang-dev.intel.com> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 28 Jun 2018 13:35:15 +0800 "Huang\, Ying" wrote: > 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? We need to figure that out with Matthew. Probably the xarray conversions are simpler and more mature so yes, probably they should be staged first.