Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp2647117ybg; Thu, 24 Oct 2019 12:59:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqyMVwQfMqmF/ftR47Wn0hvKbsYUcy/S3z99WMeXUZvGgjgpG13pkrntKhWHxM3smoKplhqL X-Received: by 2002:aa7:dcd4:: with SMTP id w20mr65480edu.52.1571947195386; Thu, 24 Oct 2019 12:59:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571947195; cv=none; d=google.com; s=arc-20160816; b=ifE5vNStWSZA/Th6pRA+D4I6eA0kJ8CzHmESB0+u8+cDs2qPTSthThnqh/HO57VT12 9tRkIesTeJPXM76C0fESa5Didj1RRy9+Hi7fF6jqddNJDSZXzPa6+W/raWnR9b2A/FYB hxR5vMzaBg5b50bJSSScpWQUK2r3ewZZ8wc+IIZRrDFOejFZsdIWUYJ8OoiEX+qdQ8tH 6/gzag3zCiicCCDQCBdO0SdR48tQ1Mwh0BONEZRJTReZSFUjOqhv4vxhhZpMXMieY1NT muYacd8W8OQ200BhhV/05JfqWnbtYGHJE1Id4x3Ahd/OLL71WhIgR58fvk9FKbXlcTuR wWdA== 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=K52zhMqxC6yVYBZkde9mx251XL6jpmIx/bNnXAEuuVc=; b=gkJADOhcPVDd+/a75CwpivcL8vWpwfQoSvIj4xOiExUcnffbpp2S1nBQbAod5icLyp dU8GIHWPhGq9WEIi4qQE9SZN6FD20SJ5DRph9Q1AMnHoJa8HuGJ8pKFMmdS8pa1PWwh2 a6GpXvdT+RLfBvxk26w6bEmruCHGTB+sFY59NiG3S1bmLq6XyPcAuNAMAC45h9oTUz02 PwIKmBLUnaf3dMQ/3s991NqXvhVzYSL9yJJwOuVHU8/wj6XKxIgwDJzhhgCMzl5gYK+M 68NPOI+o10ZXRoq+tW5n5uoLWP1BDSv6ZhH8Glizc3HqmRQ7ECICEMSYO8fb5FfL3SHb /sQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lca.pw header.s=google header.b="JTeq6/j9"; 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 g7si12047883edg.66.2019.10.24.12.59.29; Thu, 24 Oct 2019 12:59:55 -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="JTeq6/j9"; 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 S2406688AbfJXEeo (ORCPT + 99 others); Thu, 24 Oct 2019 00:34:44 -0400 Received: from mail-qt1-f196.google.com ([209.85.160.196]:43917 "EHLO mail-qt1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725919AbfJXEeo (ORCPT ); Thu, 24 Oct 2019 00:34:44 -0400 Received: by mail-qt1-f196.google.com with SMTP id t20so35884689qtr.10 for ; Wed, 23 Oct 2019 21:34:44 -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=K52zhMqxC6yVYBZkde9mx251XL6jpmIx/bNnXAEuuVc=; b=JTeq6/j9aKIMQfD8FP44xb0xiEDiaX/r/Asr+PmNFQStjb+noF8IPswVgPsUlH23Pf 20D259GfcqlKRe9KicirfQEIPpND7r9A02x6drUUTMlPDUfW94z4lFnsxmeru6nUWLl9 aLrQ5U97lNnGanbnE/KEMAkA8cj2opSkN6YEbpYe5kdPcxwNWo10+9puwHk0uLRVqMGQ Wv2sHbfOtu7nJD/LmmD7C9Os61ee6qVv7loUQ1NWSlYiZsrFsEoGi/wI9jOsNa0BiYQ6 x/wEUWqiseSgrbUibTSwX6xs7R4jxbarZFp8OHM9WevMt2bknEctfgxUf1Rkb4nNUSfm kMqA== 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=K52zhMqxC6yVYBZkde9mx251XL6jpmIx/bNnXAEuuVc=; b=MQDfs8WXe58bdNj7Ea+rZgtLypIJCUOROMUhrwQZD9YNo36Txk5ynNrc6Q4T6aFHUj 9IpUdj8MIz2pNGFEoT3okIZFe06x60y6ZwoNqsU6R4Koo7ODuUhE+oiMS/OUr2nme8iG D8ypmjHPm8LcmvYHeHBUMLrWYT77VbKAMWKmJumKCTyLed3VS3R8cf0pP489QBEfef1U BKe9TbAmW3BkIQYtHLO3pJvcv8mDrE75uwslQI6NByz9lLZmADXG8Yvjpcq4i4XBRBE0 jtsYGf0oyN/J2KINQqFHQxviveU2ETwSHzooBXASb4qrmvjJ1WBE3VjvVKzrb2mRVdWq CzcQ== X-Gm-Message-State: APjAAAUJNX/+3CDdYoWsnkUWcWLHPyFA0pTI2Robp3etwR6+D7MbkF+z kau6eB4JkSOWLJSaEiMXBLNgOA== X-Received: by 2002:ac8:45d0:: with SMTP id e16mr2144235qto.8.1571891683443; Wed, 23 Oct 2019 21:34:43 -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 q8sm8754411qta.31.2019.10.23.21.34.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 23 Oct 2019 21:34:42 -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/vmstat: Reduce zone lock hold time when reading /proc/pagetypeinfo Date: Thu, 24 Oct 2019 00:34:41 -0400 Message-Id: <15BA6C88-21C1-4BF3-BB10-2A207AEBB401@lca.pw> References: <20191024033313.GA42124@shbuild999.sh.intel.com> Cc: Waiman Long , Andrew Morton , "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" , Johannes Weiner , Michal Hocko , Roman Gushchin , Vlastimil Babka , Konstantin Khlebnikov , Jann Horn , Song Liu , Greg Kroah-Hartman , Rafael Aquini In-Reply-To: <20191024033313.GA42124@shbuild999.sh.intel.com> To: Feng Tang X-Mailer: iPhone Mail (17A878) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On Oct 23, 2019, at 11:33 PM, Feng Tang wrote: >=20 > We have been using the /proc/pagetypeinfo for debugging, mainly for > client platforms like phones/tablets. We met problems like very slow > system response or OOM things, and many of them could be related with > memory pressure or fragmentation issues, where monitoring /proc/pagetypein= fo > will be very useful for debugging. This description of use case is rather vague. Which part of the information i= n that file is critical to debug an OOM or slow system that is not readily a= vailable in places like /proc/zoneinfo, /proc/buddyinfo, sysrq-m, or OOM tra= ce etc?=