Message ID | 20180523082625.6897-3-ying.huang@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1338860224 for <patchwork-linux-mm@patchwork.kernel.org>; Wed, 23 May 2018 08:26:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0486828E3F for <patchwork-linux-mm@patchwork.kernel.org>; Wed, 23 May 2018 08:26:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ED48C28E54; Wed, 23 May 2018 08:26:40 +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 5823B28E3F for <patchwork-linux-mm@patchwork.kernel.org>; Wed, 23 May 2018 08:26:40 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id E22C06B0008; Wed, 23 May 2018 04:26:38 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id DD3E06B000A; Wed, 23 May 2018 04:26:38 -0400 (EDT) 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 CE8C26B000C; Wed, 23 May 2018 04:26:38 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-pf0-f198.google.com (mail-pf0-f198.google.com [209.85.192.198]) by kanga.kvack.org (Postfix) with ESMTP id 8FA596B0008 for <linux-mm@kvack.org>; Wed, 23 May 2018 04:26:38 -0400 (EDT) Received: by mail-pf0-f198.google.com with SMTP id b25-v6so12687188pfn.10 for <linux-mm@kvack.org>; Wed, 23 May 2018 01:26:38 -0700 (PDT) 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=0y2jlGF0M9QjVJcN8c4MweImKFgV6iBSDs0ZpPuopQo=; b=TJiR7yeN4au37hWNUXed1Z6xYTS3ZwrOsbqPjFwnDQfGjNDqL0h5TA7qpU2sm0QZF7 v9qoLM9Ot+LS1hBXwY8cX9eDgn9l4Wnk5KN/McAyq7qy5XUbjbZN3Wpk3qS+xz/tFbRD 0TFZfjsrvY0r9178/4+NxE6NTdvqV6kW3Q2/XNomtVC2ePbN+B8zK97Baf9pA46vuVC2 lDCRoPB0e7z32eJ3L2C+IIMYx+tn1GKRRCa0wPz+Dipo6kgOCI4DaVxyTfktPwO+CjBz RjOi1l0StCM/FY7N63MZUPMg8mHuYob9GXyiZpGmE3ElM6h+12CI5bvoRMtwiENlno90 zsVg== X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of ying.huang@intel.com designates 192.55.52.151 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: ALKqPwcaROVsMNe8/VIKt1OOyAhVLsSdO0PzJrAw63+DGRGnX0X0PFl9 0PP0T84Iu6DYALZgIEhkuOsvApST+9tyiiF1s4tIavF9BK/mRCmnmegSdHuwYBt5MxXmmW3jFkJ 7rtIDUvN1SQZyN2004fkLFZE6Sjun0Dw5M0XaHbkL4+ce711Q8yrAnTKxX3Tw8rDrzg== X-Received: by 2002:a63:78c3:: with SMTP id t186-v6mr1518662pgc.93.1527063998262; Wed, 23 May 2018 01:26:38 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpAErdGUJBuEdiIoWnm+sLXipp4VGTcwGuyIvcGT9V8yoo0VNq7kJ1/g3v/lFPLFrL4HyRv X-Received: by 2002:a63:78c3:: with SMTP id t186-v6mr1518633pgc.93.1527063997571; Wed, 23 May 2018 01:26:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527063997; cv=none; d=google.com; s=arc-20160816; b=dvr0puFIl7jmLbgDthxBcR9D/A1FbXbCLt8ViuBSD9r8vnBky3GMuUKf88hSba5Uoi GafxAX34tEcMFsIxYqj5/CV/bSec7OUtq0KPbruhtbcGnj13hHP/TcyuleNtN71MoEik HixJf9fTrroRF4owh3lhRuerfunJiI9ROfOWRumzvA2XbCnHe32/FNPiKAC2I4AokcBw ZvocMpgTbs48a3nHoQvg5dcdUSWwwMqI72PSohr6zEQZBGoi+4UwAkHz6VND+UBwr1A/ DCaQW4YnW1HEHpPngxKLvsnEpNHDOi0WGzVg7BFxRlfH8WeuWwd3f4PRA9eQ3eqs3w8V jTVQ== 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 :arc-authentication-results; bh=0y2jlGF0M9QjVJcN8c4MweImKFgV6iBSDs0ZpPuopQo=; b=XAPg+dmt4vedkuTMWPlx6wuUU5LCE1pfJsuKnn5SGQbEl/wasioBBS+BPHyKVtw/kq LcjLOYW+CC1i13qcPnoOkSM/dN+m+NXZYqE8XM/QmhQs5kTywrhJsL480CoSHyCttkas T7VtN+jOlbAU5WytxtysJVyUsOoJh6MCfNsvMNKx4zPgr1NuUouDqE3zLPiqQZ8yMuj8 MDKF0ox9tWvvpU7gYc0MXm+FF3ob7dAoXqaR808QNUZG3qIsqgWb2DhHkiczC5Pv8NTn JWsVirJxK0e+EJqN4mbjOyTJAG+XWX3X3vaBFBfhxBM4I1YWkchAl3pR2lMjIn8htU9m Tugw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of ying.huang@intel.com designates 192.55.52.151 as permitted sender) smtp.mailfrom=ying.huang@intel.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from mga17.intel.com (mga17.intel.com. [192.55.52.151]) by mx.google.com with ESMTPS id 3-v6si19009042plf.84.2018.05.23.01.26.37 for <linux-mm@kvack.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 23 May 2018 01:26:37 -0700 (PDT) Received-SPF: pass (google.com: domain of ying.huang@intel.com designates 192.55.52.151 as permitted sender) client-ip=192.55.52.151; Authentication-Results: mx.google.com; spf=pass (google.com: domain of ying.huang@intel.com designates 192.55.52.151 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 fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 May 2018 01:26:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,432,1520924400"; d="scan'208";a="57725954" Received: from yhuang6-ux31a.sh.intel.com ([10.239.197.97]) by fmsmga001.fm.intel.com with ESMTP; 23 May 2018 01:26:34 -0700 From: "Huang, Ying" <ying.huang@intel.com> To: Andrew Morton <akpm@linux-foundation.org> Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, Huang Ying <ying.huang@intel.com>, "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>, Andrea Arcangeli <aarcange@redhat.com>, Michal Hocko <mhocko@suse.com>, Johannes Weiner <hannes@cmpxchg.org>, Shaohua Li <shli@kernel.org>, Hugh Dickins <hughd@google.com>, Minchan Kim <minchan@kernel.org>, Rik van Riel <riel@redhat.com>, Dave Hansen <dave.hansen@linux.intel.com>, Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>, Zi Yan <zi.yan@cs.rutgers.edu> Subject: [PATCH -mm -V3 02/21] mm, THP, swap: Make CONFIG_THP_SWAP depends on CONFIG_SWAP Date: Wed, 23 May 2018 16:26:06 +0800 Message-Id: <20180523082625.6897-3-ying.huang@intel.com> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180523082625.6897-1-ying.huang@intel.com> References: <20180523082625.6897-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: <linux-mm.kvack.org> X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/mm/Kconfig b/mm/Kconfig index ce95491abd6a..cee958bb6002 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -420,10 +420,9 @@ config ARCH_WANTS_THP_SWAP config THP_SWAP def_bool y - depends on TRANSPARENT_HUGEPAGE && ARCH_WANTS_THP_SWAP + depends on TRANSPARENT_HUGEPAGE && ARCH_WANTS_THP_SWAP && SWAP help Swap transparent huge pages in one piece, without splitting. - XXX: For now this only does clustered swap space allocation. For selection by architectures with reasonable THP sizes.