Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp429728ybz; Wed, 22 Apr 2020 00:44:32 -0700 (PDT) X-Google-Smtp-Source: APiQypJ2nB+92q9/VX8HSnvy8/XvycM4tdckIdbdjOC65vH9ENrY1lfv9n/4TUnTzTH1oX5/fHoP X-Received: by 2002:aa7:c753:: with SMTP id c19mr4439791eds.21.1587541472481; Wed, 22 Apr 2020 00:44:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587541472; cv=none; d=google.com; s=arc-20160816; b=IQjs9s7oPZibLQukJ5xAxopUATsadUfs664sU7lhRsVO0UaVXxc+tikuSUwbHb+Dhm KFt2s9Pq/uzgukC3bYsxXGpF8EFIBsGEV9eSr6b90pMD9QNAzeH5PiBcxxoeH++Xmy5P w1iKMFLETXxSM5KjjpO/wZp1R+LwmFCwKI7P/6OYbtB5jBjDVNsiOi3JAW3tzsb15ozg aY8HDUrKRezKI+FVmmROptEH2Cx6kmsa550gyXJ4FqRniNDnY8xaiEUTBtL4ziewNzqz 9iBTSB2ROumGYDa2UqUBM/Q8ZBj047biJ11UkSv52m7tcKit71iUHVd7gwmu7aySWiez D/ZA== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=Ikk0dQhyFpwnAVzmiYRwmj+JonOTl74dqJfYXMk90xI=; b=Iis2/fwRRAOgoFLJOdOIqDuYUYjBg/LUrRUiA6N+su11fH06yKLmlgavds/nkkXru+ gRNQf+aa5lZZlmuUVLpZMX6PgnqiVf78AFqpQ4TTHMPCJV42lyur/4Rilb2qz/EesyZX S9Uu30NTVDTUREXiK6Ady9vWtgHd7Ch8N02QXanQLxpHDqbaVgfgIBa4ZGRSuxiwgq1/ dMGkcSEeewbz85vV+WuzLkXGKPWh1fbab1R1W2sRsvp3VUM4vjr/mFAwub3xYW/tRB1U q+5uRBcpFxY31aIGawkPy0Yr1YypdnZZzVrkP0g9KeMvjklZGsDbk9mrYHR3FvA0QULu RFdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=MzfB+ou4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id m16si2932388edq.329.2020.04.22.00.44.09; Wed, 22 Apr 2020 00:44:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=MzfB+ou4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1726399AbgDVHkl (ORCPT + 99 others); Wed, 22 Apr 2020 03:40:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38504 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726110AbgDVHkl (ORCPT ); Wed, 22 Apr 2020 03:40:41 -0400 Received: from mail-qv1-xf2b.google.com (mail-qv1-xf2b.google.com [IPv6:2607:f8b0:4864:20::f2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1707BC03C1A6 for ; Wed, 22 Apr 2020 00:40:41 -0700 (PDT) Received: by mail-qv1-xf2b.google.com with SMTP id v38so399940qvf.6 for ; Wed, 22 Apr 2020 00:40:41 -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:content-transfer-encoding; bh=Ikk0dQhyFpwnAVzmiYRwmj+JonOTl74dqJfYXMk90xI=; b=MzfB+ou4iSfP5dGvECieDS9Qg0EXAWdTbXCbdZLMF5zLkna1zUEVjfLYTyXFs+N02F XJ5I8uLIqEFwvfXvw6BSKEYKcPqxMGFOs33HL61tmO+S0gfoFeue+7E/7Ov8sBv2rUQF GPatoNGcopgIFcYssgUfwmysEDXEUX/DLIuIWUEphMI8fNLNK6KwOYRDWqctr30RKTvi Bl086By8QVGYMYV4FZSQXZR74tfuP4EL3L1IFm3GwVLIzYs/BqlZ1ATA+ENDd4navY4A gSvED2WRlDCaJs0K4kZHsgT/fssUbob2DLi7NJSqGZC+AwhEcb4yHGz9DxM57kv6OlcF qn+g== 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:content-transfer-encoding; bh=Ikk0dQhyFpwnAVzmiYRwmj+JonOTl74dqJfYXMk90xI=; b=E8EKZlsf/ig8r6hJnULZcnTvDP42Oe1GCY7smxXnhQhwP5eV+bowM8p07LD/oXDLch +QeubBdnvQBEq4zm3Pss8DQQztB6yuLdhbWY+FhHKIpCZi/9xFe/WH+RTe+5G7101bbE nkIcYH768gs6AsFkjacrCdZcfLMy3MWNJNpsI0oJPJ3EBgHjcimV+fmf8PBtD+8TkL6s 9jlD//SOBJmiXQ3yNN8wfGPYOrhwj9V4ePG1CPrHwzB5SzDcex5vn99iEjiuXHRXGE9G osV2ZP19GZe3kdUrpAvrtBn5Iq/ozZ0tdG5KepMh1WKXkjPyGeGE2aUV5KN1Ais0eRlR QTjA== X-Gm-Message-State: AGi0PuaffDZnJ+Lki7I6xgPyfJH7zwY2jNvpHzlll9L4gjTeX8Lh7Ie0 rMakpr2fq3r3hrL/RhDhpy9SaCKdPU6uGkC7z9U= X-Received: by 2002:a05:6214:1248:: with SMTP id q8mr23924825qvv.66.1587541240162; Wed, 22 Apr 2020 00:40:40 -0700 (PDT) MIME-Version: 1.0 References: <1587369582-3882-1-git-send-email-iamjoonsoo.kim@lge.com> <1587369582-3882-2-git-send-email-iamjoonsoo.kim@lge.com> <20200421090005.GA23085@infradead.org> In-Reply-To: <20200421090005.GA23085@infradead.org> From: Joonsoo Kim Date: Wed, 22 Apr 2020 16:40:29 +0900 Message-ID: Subject: Re: [PATCH 01/10] mm/page-flags: introduce PageHighMemZone() To: Christoph Hellwig Cc: Andrew Morton , Linux Memory Management List , LKML , Vlastimil Babka , Laura Abbott , "Aneesh Kumar K . V" , Mel Gorman , Michal Hocko , Johannes Weiner , Roman Gushchin , Minchan Kim , Rik van Riel , Christian Koenig , Huang Rui , Eric Biederman , "Rafael J . Wysocki" , Pavel Machek , Joonsoo Kim Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2020=EB=85=84 4=EC=9B=94 21=EC=9D=BC (=ED=99=94) =EC=98=A4=ED=9B=84 6:00, C= hristoph Hellwig =EB=8B=98=EC=9D=B4 =EC=9E=91=EC=84=B1: > > I don't think the names are very good. I'd keep PageHighMem for the > existing highmem zone, and add something like PageDirectMapped or > similar for ay page that has a valid direct mapping address. This will > also come in handy if we plan to go ahead with the xpfo work. For PageHighMem(), as mentioned in patch description, my next plan is to rename PageHighMem() that checks valid direct mapping to PageNoDirectMapped() or something else. PageDirectMapped() looks better. Reason that rename isn't implemented in this patchset is that I'd like to r= ename after everything is settle down. For PageHighMemZone(), I think that it serves correct meaning. Thanks.