From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8C120C432C0 for ; Tue, 26 Nov 2019 19:04:10 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 47B1F20659 for ; Tue, 26 Nov 2019 19:04:10 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lca.pw header.i=@lca.pw header.b="qaoh3sUB" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 47B1F20659 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=lca.pw Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id CBF286B0335; Tue, 26 Nov 2019 14:04:09 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id C964C6B0337; Tue, 26 Nov 2019 14:04:09 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id BD3DF6B0339; Tue, 26 Nov 2019 14:04:09 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0193.hostedemail.com [216.40.44.193]) by kanga.kvack.org (Postfix) with ESMTP id A8A286B0335 for ; Tue, 26 Nov 2019 14:04:09 -0500 (EST) Received: from smtpin08.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with SMTP id 52B4E181AEF31 for ; Tue, 26 Nov 2019 19:04:09 +0000 (UTC) X-FDA: 76199353818.08.ship49_71df0328d52e X-HE-Tag: ship49_71df0328d52e X-Filterd-Recvd-Size: 4597 Received: from mail-qt1-f193.google.com (mail-qt1-f193.google.com [209.85.160.193]) by imf38.hostedemail.com (Postfix) with ESMTP for ; Tue, 26 Nov 2019 19:04:08 +0000 (UTC) Received: by mail-qt1-f193.google.com with SMTP id g24so15761032qtq.11 for ; Tue, 26 Nov 2019 11:04:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lca.pw; s=google; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=ZK6xorJF4IjiLPkoRU4KWW0BlpCFZncWJvYQZh47BCM=; b=qaoh3sUBYt09c9IFsu2KfJdUpPYbqH+ObUm7aqZeeKpxrggEWuDwX8UATKLfHBOtIl ErDyEwzHl2wqme31vz80P6GwfK5l5c1F0ReMk/iTqNR3Zuv8bflH5AgPkkXPpdtnycsn srBHWLHOG7Ioo0yOQGp8SLs000LOOHYgNnNnE696sTHlDjeW5TcKN24c121jNlJ5paMh zg4WeMfVunKpI3wNrug3uRTCCGGGj//jySfmOpjyPl9z6aPlBdCi0tj0w6NKZVAaZjxk y3t+pBWYn/saoKAXVm9NJ4s2HXzO4+rTAAHh4xnUGpJVUJc+LqE6JNUDNRMzgs3Mj+eh c+lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=ZK6xorJF4IjiLPkoRU4KWW0BlpCFZncWJvYQZh47BCM=; b=dfqYQhwCmku12uKflONvK/ahUZAVQqPyYJeCq8r0DjCTy4TtZKkRKTTFQgn6Gf/S7N gexbQRSQ8IypmdFcaaxCFagH13TEnXgh641j1BYb/1R//Epl/ik29t+3zDV74YJO2fNg XYXLpMrRJDpMHh8YYOIm0+i0xb3XyTAuhYG5Y0fR+i8Kp68FHouf0Qp35SFtbUX1dCR4 WI6rrgGRjzpp5ctoH6ecHEBMgABS61vrDdw0g193Xb9rHDAhwlPPWV5hkSwo1I/ua9e6 +2hTKzOt0rk0IYHhfEyP0t2+t5cgweZf+d1JBwm23LGRbQ9cgh21tvkMa1Df4iOzUevA 4Seg== X-Gm-Message-State: APjAAAWKF7xD7AGqQ4lpH4aWinj741MZWaNdxHjvzuoG9+Z9tt0ZLLek WarV2StlZG5gahAVBBVwydYXZQ== X-Google-Smtp-Source: APXvYqx6AnTw16s05bK5rMZmCdoqPd+CvORBoorp4YGZJBX2CUqh9log0dD16gYbuUUFM6ZUSpp74A== X-Received: by 2002:ac8:7492:: with SMTP id v18mr27893474qtq.282.1574795048058; Tue, 26 Nov 2019 11:04:08 -0800 (PST) Received: from [192.168.1.153] (pool-71-184-117-43.bstnma.fios.verizon.net. [71.184.117.43]) by smtp.gmail.com with ESMTPSA id r37sm6412608qtj.44.2019.11.26.11.04.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 Nov 2019 11:04:07 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3601.0.10\)) Subject: Re: [RFC v1 00/19] Modify zonelist to nodelist v1 From: Qian Cai In-Reply-To: <20191126154101.GJ20912@dhcp22.suse.cz> Date: Tue, 26 Nov 2019 14:04:06 -0500 Cc: Pengfei Li , "lixinhai.lxh@gmail.com" , akpm , mgorman , Vlastimil Babka , cl , "iamjoonsoo.kim" , guro , "linux-kernel@vger.kernel.org" , "linux-mm@kvack.org" Content-Transfer-Encoding: quoted-printable Message-Id: <8B426079-6091-4898-8D77-609915C273E8@lca.pw> References: <20191125083948.GC31714@dhcp22.suse.cz> <828BAB69-4B46-418F-A5E2-35B0756340D0@lca.pw> <20191126154101.GJ20912@dhcp22.suse.cz> To: Michal Hocko X-Mailer: Apple Mail (2.3601.0.10) X-Bogosity: Ham, tests=bogofilter, spamicity=0.017668, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: > On Nov 26, 2019, at 10:41 AM, Michal Hocko wrote: >=20 > On Tue 26-11-19 10:30:56, Qian Cai wrote: >>=20 >>=20 >>> On Nov 25, 2019, at 3:39 AM, Michal Hocko wrote: >>>=20 >>> People do care about ZONE_MOVABLE and if there is a non-movable = memory >>> sitting there then it is a bug. Please report that. >>=20 >> It is trivial to test yourself if you ever care. Just pass = kernelcore=3D >> to as many NUMA machines you could find, an then test if ever = possible >> to offline those memory. >=20 > I definitely do care if you can provide more details (ideally in a > separate email thread). I am using movable memory for memory hotplug > usecases and so far I do not remember any kernel/non-movable = allocations > would make it in - modulo bugs when somebody might use __GFP_MOVABLE > when it is not appropriate. >=20 I don=E2=80=99t think it is anything to do with __GFP_MOVABLE. It is = about booting a kernel with either passing kernelcore=3D or movablecore=3D. Then, those = ZONE_MOVABLE will have non-movable pages which looks like those from vmemmap_populate(). = How do you create ZONE_MOVALBLE in this first place?=20=