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 25280C32792 for ; Thu, 3 Oct 2019 11:19:19 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id DC9F921D71 for ; Thu, 3 Oct 2019 11:19:18 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lca.pw header.i=@lca.pw header.b="ApEpOv4I" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DC9F921D71 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 4F6E86B0005; Thu, 3 Oct 2019 07:19:18 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 4A69A6B0006; Thu, 3 Oct 2019 07:19:18 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 3950E6B0007; Thu, 3 Oct 2019 07:19:18 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0028.hostedemail.com [216.40.44.28]) by kanga.kvack.org (Postfix) with ESMTP id 124B46B0005 for ; Thu, 3 Oct 2019 07:19:18 -0400 (EDT) Received: from smtpin29.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with SMTP id A39E2824CA27 for ; Thu, 3 Oct 2019 11:19:17 +0000 (UTC) X-FDA: 76002227154.29.cave53_5118439709f1a X-HE-Tag: cave53_5118439709f1a X-Filterd-Recvd-Size: 4016 Received: from mail-qk1-f195.google.com (mail-qk1-f195.google.com [209.85.222.195]) by imf12.hostedemail.com (Postfix) with ESMTP for ; Thu, 3 Oct 2019 11:19:17 +0000 (UTC) Received: by mail-qk1-f195.google.com with SMTP id 201so1874464qkd.13 for ; Thu, 03 Oct 2019 04:19:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lca.pw; s=google; h=content-transfer-encoding:from:mime-version:subject:date:message-id :references:cc:in-reply-to:to; bh=j+LY7SBrpaPWN8ZunyPxCza+/gP8sBOqig05DwJQYFY=; b=ApEpOv4IeWriJlUn5gRN+xzsCLmXeQKY2qkAlssw/67TrWl8dFK4APF2cv08pUeA6K 9CnxQldWMkRybFAcjZwqMtlRUh9GD3p4u3izVKX+2yIFQ0h84BvB5Pq2zRJzrjPgVOLs RO55OzYh2I+zLOKDt+z9zOtlbMgYzJeH38h6Yr0lm7R/ISMb8Y85zLXfYhWZKgfC0DMV uPQbfGX+yojWi9Dc0b6OzVUM+X5qDzxZcjnjzHO7c4D0RYpvVaDLn5HOJkpdGoJhVS51 fXTj8enyEH1b6iZJL3lvF7+m7PGoqV5BYeVl9KA+Xbtt5mnI67+xaj12xy+rYbQJVZiO pUXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=j+LY7SBrpaPWN8ZunyPxCza+/gP8sBOqig05DwJQYFY=; b=kBZWwFZxOcsPKIZwUIlFYYU/mVhqot1SZOSFwETtEEMvZbCeloHF4vil9PUePG/+FX cpP+sjVbBQ+vz9IPQKVMD8IWmaDCsGCzPmKYZRrf9tWGgCV8DN3I+D8MwlXV/yscvgpI Ls6Tyyjb+J++o2tHMXCXn/7UHmFmHpPmisLgWjILHoxamC8SVYPauk9tw98nFMgb5J3a /OlTB00eakyRgphhdPSRz9w4wOIvvJ7yAAmRAOsSD5GTV4CBTJDWJoJyurlaThKNYNaQ sboWYWWtiGrjMPWQr+U3Zmaj7EyAJc16M7sh/kRDLH/Y41MB7u69IUxbcIYfeaDGB/MY Ueow== X-Gm-Message-State: APjAAAXzdaNqXVg//d3wmn6L3/06F9vuNtTx8sRW4BYUOX/ug+jyOD79 JkaWvlQ8cdHD0WsMbDezTeIkAw== X-Google-Smtp-Source: APXvYqxW4gB/kYtHI5Of00L1W60hX0JJhtdRgri4WP/QFf4o/BePI+7/OvNdO3N3HdmZ3pS3PHx9BQ== X-Received: by 2002:ae9:f215:: with SMTP id m21mr3781093qkg.47.1570101556499; Thu, 03 Oct 2019 04:19:16 -0700 (PDT) Received: from [192.168.1.183] (pool-71-184-117-43.bstnma.fios.verizon.net. [71.184.117.43]) by smtp.gmail.com with ESMTPSA id z38sm1355269qtj.83.2019.10.03.04.19.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 03 Oct 2019 04:19:15 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable From: Qian Cai Mime-Version: 1.0 (1.0) Subject: Re: [PATCH] mm/page_alloc: Add a reason for reserved pages in has_unmovable_pages() Date: Thu, 3 Oct 2019 07:19:15 -0400 Message-Id: <285C0297-BF27-4095-87B6-AFC88C1F3C0F@lca.pw> References: <37b43978-5652-576c-8990-451e751b7c67@arm.com> Cc: linux-mm@kvack.org, Andrew Morton , Michal Hocko , Vlastimil Babka , Oscar Salvador , Mel Gorman , Mike Rapoport , Dan Williams , Pavel Tatashin , linux-kernel@vger.kernel.org In-Reply-To: <37b43978-5652-576c-8990-451e751b7c67@arm.com> To: Anshuman Khandual X-Mailer: iPhone Mail (17A844) X-Bogosity: Ham, tests=bogofilter, spamicity=0.016905, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: > On Oct 3, 2019, at 5:32 AM, Anshuman Khandual w= rote: >=20 > Even though page flags does contain reserved bit information, the problem > is that we are explicitly printing the reason for this page dump. In this > case it is caused by the fact that it is a reserved page. >=20 > page dumped because: >=20 > The proposed change makes it explicit that the dump is caused because a > non movable page with reserved bit set. It also helps in differentiating=20= > between reserved bit condition and the last one "if (found > count)". Then, someone later would like to add a reason for every different page flag= s just because they *think* they are special.=