From patchwork Tue Nov 20 08:54:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Huang, Ying" X-Patchwork-Id: 10690023 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DE32013BB for ; Tue, 20 Nov 2018 08:56:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D0B9B2991D for ; Tue, 20 Nov 2018 08:56:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C51CC29A1B; Tue, 20 Nov 2018 08:56:15 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AA2942991D for ; Tue, 20 Nov 2018 08:56:14 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 15AEC6B1F5B; Tue, 20 Nov 2018 03:56:11 -0500 (EST) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 1162F6B1F5D; Tue, 20 Nov 2018 03:56:11 -0500 (EST) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id EA5C06B1F5E; Tue, 20 Nov 2018 03:56:10 -0500 (EST) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-pl1-f197.google.com (mail-pl1-f197.google.com [209.85.214.197]) by kanga.kvack.org (Postfix) with ESMTP id 9B95C6B1F5B for ; Tue, 20 Nov 2018 03:56:10 -0500 (EST) Received: by mail-pl1-f197.google.com with SMTP id w19-v6so963252plq.1 for ; Tue, 20 Nov 2018 00:56:10 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-original-authentication-results:x-gm-message-state:from:to:cc :subject:date:message-id:in-reply-to:references; bh=2WTIQvp7eld/sZnVvchF6+tWWrGAA8DFZDIDwNcgF9E=; b=A5GqQoOeiLhpdEOjhWyJ2g7hcsi5rmLlIotbYw2CbeAGqThC/HlrUS+pDX6GA3bMep 5wE9ObgUd7etDIcSwzdOvRPguxHzij5NaEMJZ7exOICeHfXDVc/VrGUxcBpAx5T+8Rs8 way8F5WQR1JG7ZXoh77FDxDD99HOyo+7FyzVBp0lYyfVuGuBsp4cLk/rfKjqTgDQLRaI qvTYzSkMVcZAAktdKRbnhp1ObmtOvdsZSzF9+GcLdB3iPBggA0Q3k/3MFacSwT3H8j5o eopp0ke4/RMljSAjR3L4iOI7mMi0TqjZ3iHNwLRlCu0JuPsHRH2ichs9Yk9mCsrJ9jPL cQpA== X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of ying.huang@intel.com designates 192.55.52.136 as permitted sender) smtp.mailfrom=ying.huang@intel.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com X-Gm-Message-State: AA+aEWYtbtj/T5Uh9k910pkysRs2Weg4WTfsZ/v006b6/tIlIdWf00Od uSRUsgt4qzVEuf4z8FLI+3VkS9SBOMvIDmYR/+XfGIBuDK/M9DDszDZNChWePtgoKju1QeksaPB yp6kZovj2iBkEDiPdDXtzb5qEBcl5ai222Jx0cycwt/2FT9bxmHosphiOzoHON/zCUw== X-Received: by 2002:a17:902:66e5:: with SMTP id e92-v6mr1335051plk.92.1542704170324; Tue, 20 Nov 2018 00:56:10 -0800 (PST) X-Google-Smtp-Source: AFSGD/V6j0vQVUbi4Uh4b6zAi3I7brq9M/mQyu0/hG9dSyUrzrLsP7ZF8ckb7n437iSrtndvISCM X-Received: by 2002:a17:902:66e5:: with SMTP id e92-v6mr1335010plk.92.1542704169500; Tue, 20 Nov 2018 00:56:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542704169; cv=none; d=google.com; s=arc-20160816; b=YXPf2SpVY+uD53OsfeBwif9kBm4JlDNIjO0u7Bo8nR6xQYdcasZ/AEJb4+ZF8lY+sG yYqKiaIAs3sqwLbkMt1XETdZF4I/ScFuKT4cgjRxP5bPt/wwxNP3ziUF+CayCtZG8HQD TGcrvTnrxrpgnA5ik/3IwWco1qf5kE4/oCdetLGQMpeJj7rwWEM5xyBKF8fFXLU+UaMG Y2rgaLzCmQmAxcrbUWLPjI6Upde/WAshPda5BmLufISMP2MB2Egs/Fu7HZIv0h/F5ZPn rbimndNMyWKSJMx2AYYnEMjX7fD0i1dLQg0xp7GoP1GUAq/mAbqJJhr6k91P9o+SHGgQ cTKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from; bh=2WTIQvp7eld/sZnVvchF6+tWWrGAA8DFZDIDwNcgF9E=; b=qgO5kBVc63zjjCR6r6JNTa/SAd/H5ixsgJMrxQxc4diMHM2CktvQQxf0vU1qIobLbA PJ68Uw1bpZJG/U/+vmsgJawB//0KCDVviq4l9RU7ujX6xus7/Vm99YBKzVg/26xtTTty EbXW8bHktWXyNDkNb5MAPdfGSkF6ZUAiWxHHS4EnudAtnHtZa4RMyI3K9Bj5FfCEKBHI cGjlDfH42+Qndeo3rgrvncxomWyvonBzgYeLfQh80ogkpoAEHwKpeyDeb5dQfw9GY0yn 9baXdd4eq0ivhwTHsoMTfgXypqQfYo9lZStqODmbfyGmwBp7aAAx3BoOl41RTswSP6Ox AHQg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of ying.huang@intel.com designates 192.55.52.136 as permitted sender) smtp.mailfrom=ying.huang@intel.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from mga12.intel.com (mga12.intel.com. [192.55.52.136]) by mx.google.com with ESMTPS id c14si6866550pgw.151.2018.11.20.00.56.09 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Nov 2018 00:56:09 -0800 (PST) Received-SPF: pass (google.com: domain of ying.huang@intel.com designates 192.55.52.136 as permitted sender) client-ip=192.55.52.136; Authentication-Results: mx.google.com; spf=pass (google.com: domain of ying.huang@intel.com designates 192.55.52.136 as permitted sender) smtp.mailfrom=ying.huang@intel.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Nov 2018 00:56:08 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,256,1539673200"; d="scan'208";a="106106014" Received: from yhuang-mobile.sh.intel.com ([10.239.197.245]) by fmsmga002.fm.intel.com with ESMTP; 20 Nov 2018 00:56:03 -0800 From: Huang Ying To: Andrew Morton Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, Huang Ying , "Kirill A. Shutemov" , Andrea Arcangeli , Michal Hocko , Johannes Weiner , Shaohua Li , Hugh Dickins , Minchan Kim , Rik van Riel , Dave Hansen , Naoya Horiguchi , Zi Yan , Daniel Jordan , Dan Williams Subject: [PATCH -V7 RESEND 21/21] swap: Update help of CONFIG_THP_SWAP Date: Tue, 20 Nov 2018 16:54:49 +0800 Message-Id: <20181120085449.5542-22-ying.huang@intel.com> X-Mailer: git-send-email 2.18.1 In-Reply-To: <20181120085449.5542-1-ying.huang@intel.com> References: <20181120085449.5542-1-ying.huang@intel.com> X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: X-Virus-Scanned: ClamAV using ClamSMTP The help of CONFIG_THP_SWAP is updated to reflect the latest progress of THP (Tranparent Huge Page) swap optimization. Signed-off-by: "Huang, Ying" Reviewed-by: Dan Williams Cc: "Kirill A. Shutemov" Cc: Andrea Arcangeli Cc: Michal Hocko Cc: Johannes Weiner Cc: Shaohua Li Cc: Hugh Dickins Cc: Minchan Kim Cc: Rik van Riel Cc: Dave Hansen Cc: Naoya Horiguchi Cc: Zi Yan Cc: Daniel Jordan --- mm/Kconfig | 2 -- 1 file changed, 2 deletions(-) diff --git a/mm/Kconfig b/mm/Kconfig index d7c5299c5b7d..d397baa92a9b 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -417,8 +417,6 @@ config THP_SWAP depends on TRANSPARENT_HUGEPAGE && ARCH_WANTS_THP_SWAP && SWAP help Swap transparent huge pages in one piece, without splitting. - XXX: For now, swap cluster backing transparent huge page - will be split after swapout. For selection by architectures with reasonable THP sizes.