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.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED 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 47CC6CA9EBC for ; Thu, 24 Oct 2019 04:34:46 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id DB58921872 for ; Thu, 24 Oct 2019 04:34:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lca.pw header.i=@lca.pw header.b="JTeq6/j9" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DB58921872 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 484AB6B0005; Thu, 24 Oct 2019 00:34:45 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 434D86B0006; Thu, 24 Oct 2019 00:34:45 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 323016B0007; Thu, 24 Oct 2019 00:34:45 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0223.hostedemail.com [216.40.44.223]) by kanga.kvack.org (Postfix) with ESMTP id 1123B6B0005 for ; Thu, 24 Oct 2019 00:34:45 -0400 (EDT) Received: from smtpin04.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with SMTP id AD4BD8249980 for ; Thu, 24 Oct 2019 04:34:44 +0000 (UTC) X-FDA: 76077412488.04.year46_638f2c718513c X-HE-Tag: year46_638f2c718513c X-Filterd-Recvd-Size: 4117 Received: from mail-qt1-f196.google.com (mail-qt1-f196.google.com [209.85.160.196]) by imf07.hostedemail.com (Postfix) with ESMTP for ; Thu, 24 Oct 2019 04:34:44 +0000 (UTC) Received: by mail-qt1-f196.google.com with SMTP id d17so21309757qto.3 for ; Wed, 23 Oct 2019 21:34:43 -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=ckCeOOWUltOj7IO9svDPw/ih381QzxfUwVa68U6sDBCp4NOwjWUbK8VTVor4+r2A+S tttRAT38G2jYsWOQaTfxah0/VbtgCXAcL7p67Pmv+iopVfVfShjRJE3C3kaHNNkMI8FH NidAE52rx7hLHerg4FcW6PtoiWBJJAd1hESTx/QW3mld6Mtc2BBXoz8Khs8gJMeoikOh 1/Fje8vgbJOQfw5EiKEEHhNDX60xmMuA5AFMxzzQ0jFTPD+skvGPRk+4i6HDv+a710ht uiwmowQyORqtWJFzTWUVgBCwz5Cp2iq/COBqt4XanP2cXOyTSww+dm10khFmCKH8l/4s CdLQ== X-Gm-Message-State: APjAAAXmstuzIYtjxRPuxLNMytVVGJJtoJjqvN+OIUPe6TSMEpp5QcUO +xGVePc6hjSgAnIOl/XC5uVFtA== X-Google-Smtp-Source: APXvYqyA5SwfEszriIyG6grRFtST4lt9blokF465jTDQhWJWxl+UIPmqkcc/xPIboZHr8ZYeXI0v7Q== 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) X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: > 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?=