Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp1011140imm; Sat, 7 Jul 2018 14:14:01 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdjW0c2yYmvMA/0QZlKHiOCBvWEhPc+IGVQux95CubSbrV7/0K16BOOgbnX9ZCS6Fi9gvkd X-Received: by 2002:a65:4888:: with SMTP id n8-v6mr13978945pgs.149.1530998041412; Sat, 07 Jul 2018 14:14:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530998041; cv=none; d=google.com; s=arc-20160816; b=wagheJGUQKScnfWUZDD05/yyMGv57sz0JWEtQ8GK5wMdJ5wX+JV/wMZv62c6UOPUsA /sK/pag7MGEp6qxZfzxalvMutYSkGS+uK5+iOAlmKMEfIhFEskVHqmh3tkq9UijgJGhK fH+oiDD55m2XLn6W52xMnQ3oHhOAWn8L9KvHtjPmu7fTnFZsnMUBfctJsc31NEwEhKYa WNYuEsyAm4ElbTBhSWOfMfR9/Cn/3eHCyo/zy3U4fPJtW4DPGdNKFwWmkbL7L04OXR1k qiNRfewzsxBaP7rYEutlapg3HtWiIYxrbxdQ8G+QiwhMpyWWg3YdGpxsfDVNYJal3qDY wO4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=7F1yK0yM2gpuHGU78TIxo2sQ6eBFe4mIPqhduco8i/Q=; b=EIuW7glJbsz2uMkbSI7aiuy08AcrNja9meBq5ftioJcLjkOWnvS6Bhv0BtPddMKJbi euPsvm/E2icyWpLU/QvVuoWOlKAdqITmw1/ZelYkvyKhQ2tX00mFcgH9+H8A130BuZyl OqOsCBoEBVDf+c7icrzLVEiPbELPMi6SL7fTyakL3C0Th9PDIb+GL+6VfZCUwec8H/6D mxqkPG7qQxSqayWQMalmORuudPVsoPrtb+wWJYQ0ntVDGIvKzrDEMJ691dpS6OHTcfOJ 0KYPaNygPx/VRsRuYRCQSUY41+/rqu9hUNyVI3GJ9Iz/5WhruSQpN4F6Bh4n7O+MNYnG j4mA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dkeC3tBH; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u70-v6si10360886pgc.150.2018.07.07.14.13.47; Sat, 07 Jul 2018 14:14:01 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dkeC3tBH; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932771AbeGGVNB (ORCPT + 99 others); Sat, 7 Jul 2018 17:13:01 -0400 Received: from mail-io0-f169.google.com ([209.85.223.169]:37405 "EHLO mail-io0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932336AbeGGVNA (ORCPT ); Sat, 7 Jul 2018 17:13:00 -0400 Received: by mail-io0-f169.google.com with SMTP id z19-v6so13842970ioh.4 for ; Sat, 07 Jul 2018 14:12:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7F1yK0yM2gpuHGU78TIxo2sQ6eBFe4mIPqhduco8i/Q=; b=dkeC3tBHAQVhiJYCQuBNjcBvTvy63tXSoiNoXV4ywLe1tl+OgAnOOfoGXGzYX+hFeM cd4Y4NAdi03854oiDJyDh5CsPIHnXGIuZl3hVDfhUHo9DwDizLD1Rpa2tmJA5GycBY0t ALZ4/yIzb4ZONtixJNOm0seIw7p8ihjM53BzQefZs+2Ze3yjFOYyQFSnrj4P1Op3pXwG C8spkLqG9PUo+KSD3nGSi7lywi6R4WXdBYD+7/sz2ec+5gWmdjqBLmqKQGj6k6aJDrbh n6im+N+A7nwo471/JgA6y9w7zhH2GyN2guRt6rgD0KmuyY0GKkEVohueGn+kEgadMCyP 6c9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7F1yK0yM2gpuHGU78TIxo2sQ6eBFe4mIPqhduco8i/Q=; b=RduatW62VFKObl32aT4Kw38bZ8Cc1WhNtFoc97hMqiD4xkvIjFMiCDEur/j5gNxh95 M9gMjB3cbNV9Vf3vPWq5hD5+vwH4h8iKCU38dAsA2qiWnx5kFqxF/kp4ONtgruLIkyuY 6SJ4mOeXW/2VBPUwcd7yS8Fj53r0xHqGn/oa0dMZ/UUlCWT+L8p4rqbkFh8QGsoMLM66 8yl5IBx54hMQdVAc7msqtHTKeyjGHURGTpaE8XcrFBhRr1P7DJoJ9qL6WmCswdB6dWDU ImlaL1vnOlJ9LHYbzouDjUwdP6RbLAubs7HlyB4IJQtHFLtVDDvNFDPaFbVwTOREQGvq hFww== X-Gm-Message-State: APt69E3VbfjYHi//CpaZna6envBwqz5coqQdjbqWt90p1KkFffr4W6wT jEHnkAB3CW3wtHLaGKFA3CWdfbO7aF39NgnqxUw= X-Received: by 2002:a6b:2c82:: with SMTP id s124-v6mr12036468ios.136.1530997979438; Sat, 07 Jul 2018 14:12:59 -0700 (PDT) MIME-Version: 1.0 References: <20180622035151.6676-1-ying.huang@intel.com> <20180622035151.6676-3-ying.huang@intel.com> In-Reply-To: <20180622035151.6676-3-ying.huang@intel.com> From: Dan Williams Date: Sat, 7 Jul 2018 14:12:48 -0700 Message-ID: Subject: Re: [PATCH -mm -v4 02/21] mm, THP, swap: Make CONFIG_THP_SWAP depends on CONFIG_SWAP To: ying.huang@intel.com Cc: Andrew Morton , linux-mm , Linux Kernel Mailing List , "Kirill A. Shutemov" , Andrea Arcangeli , Michal Hocko , Johannes Weiner , Shaohua Li , hughd@google.com, Minchan Kim , Rik van Riel , Dave Hansen , n-horiguchi@ah.jp.nec.com, zi.yan@cs.rutgers.edu, daniel.m.jordan@oracle.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 21, 2018 at 8:55 PM Huang, Ying wrote: > > From: Huang Ying > > It's unreasonable to optimize swapping for THP without basic swapping > support. And this will cause build errors when THP_SWAP functions are > defined in swapfile.c and called elsewhere. > > The comments are fixed too to reflect the latest progress. Looks good to me: Reviewed-by: Dan Williams