Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp233876ybn; Thu, 3 Oct 2019 04:24:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqyh62gwuuK+DEpzjvHCkRn7ci6oY6xVIV3MVHJTpyduuEIncU/TDnFlqKZ+H1IfcuuQokxq X-Received: by 2002:a17:906:fac5:: with SMTP id lu5mr7212772ejb.71.1570101862031; Thu, 03 Oct 2019 04:24:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570101862; cv=none; d=google.com; s=arc-20160816; b=AC7n1aj4FCJ2cuDZGQZqK2Q/baVCGIg5rtEOgq9YC7ktmH/KigfYbUzbH6sOGot2Nz egMk6e3QAE43j9cEsIVm6zTjEpbIKC7gqD/1BYEig1Sjo1OxgzNTN8epafLRXh0bPHC0 jM6cYWIN7N5VaftkVUXeJEyhvuoPUtHenx6tSW1XW4rIni486p48Wh6/yqBHDqUeFWZs o0QxJj4Uls1hN+ffBda5eDnkgGAavStQHpdBeHRUfezRW5RlpmJMRMW6sd0IQwWWMlh0 MxIYlpvruy01f2Ledumj2v5aJYHMS8k+zmq3mhXkYmxc7iFvHIwszUrUTkxcu5Y73UW5 S8ug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:in-reply-to:cc:references:message-id :date:subject:mime-version:from:content-transfer-encoding :dkim-signature; bh=j+LY7SBrpaPWN8ZunyPxCza+/gP8sBOqig05DwJQYFY=; b=L/vS2X9/rUhY434rFNf+0YhjHcxu7H+qKh5oLT5HTdT3rPWiUHnCjFN61WZFT+jhyy TJ31t0m2yBrtG3Vr06PZGOagexKbvZZITGeuITRBfbdi73u1wYmm3uRwtOFth2XzJKf/ Qnn5+rCSccbOIV/9R6amFg3J/fmM+AMBbTz04KOK9jGoWrR6X2yChijjhkHM/5LZwA9Q oM/moG6IuwE6iaoNHZ8rfIQK/kfZucDEwhA4YslS/fGtNOfvcYyk8sFZtU7C/x8FPE8Y 0Eh4NMzU0wr10gqEjvcVxhNOw3hxjUo6xXjggYpu82hALFWRpm+DPOT1/az1vVCWtRQc lkLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lca.pw header.s=google header.b=ApEpOv4I; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b15si1259148edm.395.2019.10.03.04.23.56; Thu, 03 Oct 2019 04:24:22 -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=@lca.pw header.s=google header.b=ApEpOv4I; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729861AbfJCLTS (ORCPT + 99 others); Thu, 3 Oct 2019 07:19:18 -0400 Received: from mail-qk1-f194.google.com ([209.85.222.194]:38999 "EHLO mail-qk1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729241AbfJCLTR (ORCPT ); Thu, 3 Oct 2019 07:19:17 -0400 Received: by mail-qk1-f194.google.com with SMTP id 4so1918792qki.6 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=AByj/DJFiLkbLlUTLt0Razn7Y1DrIyJHywx6AwbYl8PeOYzmTCaNs4cDiOLcEeSQ3a ogNCtipWB5TIshHXz58TW8Yxnl/t7QCB1Yc/LwgFZ6JXqypmGkhXINB5I2FNritGzUXb 86G4ew+o2h+KA3LsQZfcMZySlZmWiBDa3jkoCOzUeuj9C9MkhomBqd4GBI8tT7dswv5W 7S80NFKKh0bI52IsrIgkZIIIdA+b3zrCfmjP0gjf+Ee3wkEUwQR93DRPeE6kZGSYI4Pe 1B8UVOo9zRvnjW7WeCIILBx79/45Pn/0I2XXYPIyB+AoKnrmxqSZJUpMUbkgVDjQ0LzF Khag== X-Gm-Message-State: APjAAAVPNtaTfd75HRi8endBNEf+tIPuQih71zyDo5+EWYCarzMjWKTp j1W4PwQXj6ZBnN7wCjdDibGL2w== 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) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > 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.=