Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp3348911ybg; Fri, 25 Oct 2019 02:50:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqzoM42JQHvK9qhJjVUSAK9V1XsvAvzQuaoQ1me48rQQIiz3advr7F3Dd5/6jSPJLr8ZxXhh X-Received: by 2002:a17:907:40f3:: with SMTP id no3mr2432564ejb.95.1571997009465; Fri, 25 Oct 2019 02:50:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571997009; cv=none; d=google.com; s=arc-20160816; b=chRAzp36ZJvBRoNKlCkKQUfWviGEPyjNKbf1Q4FGQP7l+ovtSMHa86aHN5/Pb6EzMK HjqB2U3VVWtQRmSIcabrYrB4hFnFxC5vDMCNBjoU2wAs3AmcVyIuKkhMQCR9nXRTynBH f5x/5DZehY2pncyC8LXkZP+nyOWMMSqOlN/Qp0Ai7SN9acZT5fAToU5FvFUOJPYpVaqW 3fSGjBI/+1Kf0qAVvx7/Vb5mkcF9wwvigGd2D7UdJOY13lHFXScKCmMtLslRpWChxLsl b6swhqSlUKqN18+IrQuVJKA9s1v2nxMzsiNFrOFJu7SOFRm0d+fGi3R2iuEoDPEO9GB+ uaqw== 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=H1HIMvQo084DWDOeY/DGgNuXCfSIuehJ6e/cH8aaOG8=; b=cQp6v5uystKe4Sz1IBSiK/6YjVzWpRSs7k+zUErbIE91BGFYsf47rHkBqQyORHYYM3 1pJ3dPesTns8ikdUABzpJC4KqaGwbgHT7fZesk9VR5yU/dMGD6TBNJlW29nGAgwAqhyQ af6BLGFzsPQivCfEZQWclMvFlRbpR0ekcKJ/MyKEKlegpXZNfBN8TmkgxaCKkILiv/Ik ubidGWGtNoqs9cdXOGC2iQiVHQTAxKq+5jOMgyanlZ4rSBckqF4QxB9WWGCd+I1+ESHe FHi8IyHCSa1xoNVkRVAU2crMoHon3psdZP89GeUYCTpVQHYJyHrpGzgWyLeLDcIMxUuV uVww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lca.pw header.s=google header.b="XZ9wsRP/"; 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 a6si845760edl.108.2019.10.25.02.49.45; Fri, 25 Oct 2019 02:50:09 -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="XZ9wsRP/"; 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 S2408009AbfJXLLz (ORCPT + 99 others); Thu, 24 Oct 2019 07:11:55 -0400 Received: from mail-qt1-f193.google.com ([209.85.160.193]:43061 "EHLO mail-qt1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2405717AbfJXLLy (ORCPT ); Thu, 24 Oct 2019 07:11:54 -0400 Received: by mail-qt1-f193.google.com with SMTP id t20so37215585qtr.10 for ; Thu, 24 Oct 2019 04:11:54 -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=H1HIMvQo084DWDOeY/DGgNuXCfSIuehJ6e/cH8aaOG8=; b=XZ9wsRP/Dl6l54rJvN8yPLeGOEt11uClg9G8Z0iKoz6QWoGVBSu80PdjKncPdbPj/y 2yxif1tG1j76a5xxi9/ystVvHRYzKGS9KpJyBdFMqQzPJFG/ynai7YP1K8bFMUBw/e8C irxxug7zGAo8pi9yBevnun3bcCikXaTWoB85np9sZwUyUNnvu/b+DeddVGK0NgmbrjPa PBReT2xpph3CsJTKiFxqPPYYW1QftuxbkSHiIGq5JHqwtbcLHCNg3D9cnO+enDUEFeND QffNVfJvi7e9T+VWNSx4aMubmaq+vsMZL7R947sDVVJrWoxUZ/7TgDyhYl2KgmxCGu5/ xwTw== 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=H1HIMvQo084DWDOeY/DGgNuXCfSIuehJ6e/cH8aaOG8=; b=n3VxFa9gVC2EzBuQkntkXmZIRaLoXXCOPSTkvubSCdOB9w9T9VfdgvswEaueq7kFXb ZGjZjo4afvkc264JGZm56hgSoGPCoqA1xlAylR5byhTlrMsK+Ltd5aVmky7NSx+Og/Be yhduZTPI8ahB4OBc2SB3p+Qf8Uvlax/9T3WonJkBTwMFMqYD3qHwbgFplhzL2IslvvS9 V9hnscZaizCSG00BTnbEkeJHUF84Rf20h9eue684oJCGQTF07ydcG5j3b/g0XSb9Dgng vMmhk7hASr1iefZ3PI1ERgBvQHYcuReYsda+b0K4LOA/2e1PTPMyDKnaWGsAZPDm+1xo zqmA== X-Gm-Message-State: APjAAAXgydf2Zhz06MxmqF2MfZ+LKSad7rkHJQa/xmNi/pD3GI+G/90P vmD7yVhXND+wtMIrvd/3IuWJwQ== X-Received: by 2002:ac8:72d4:: with SMTP id o20mr3439086qtp.366.1571915513799; Thu, 24 Oct 2019 04:11:53 -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 d23sm13393985qkc.127.2019.10.24.04.11.53 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 24 Oct 2019 04:11:53 -0700 (PDT) Content-Type: text/plain; charset=utf-8 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 07:11:52 -0400 Message-Id: References: <20191024074205.GQ17610@dhcp22.suse.cz> Cc: Andrew Morton , Waiman Long , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Johannes Weiner , Roman Gushchin , Vlastimil Babka , Konstantin Khlebnikov , Jann Horn , Song Liu , Greg Kroah-Hartman , Rafael Aquini In-Reply-To: <20191024074205.GQ17610@dhcp22.suse.cz> To: Michal Hocko 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 24, 2019, at 3:42 AM, Michal Hocko wrote: >=20 > It's been useful for debugging memory fragmentation problems and we do > not have anything that would provide a similar information. Considering Actually, zoneinfo and buddyinfo are somewhat similar to it. Why the extra i= nformation in pagetypeinfo is still useful in debugging today=E2=80=99s real= -world scenarios? > that making it root only is trivial and reducing the lock hold times > likewise I do not really see any strong reason to dump it at this > moment. There is no need to hurry this, and clearly this is rather a good opportunit= y to discuss the consolidation of memory fragmentation debugging to ease the= maintenance in long term.=