Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp937173pxb; Thu, 28 Jan 2021 04:16:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJzXUkwr7gkOocKlBUquceHXqC2vGjNWesUXsjX9wB5/DsEsSsn9VNFZXwkBDHrDzx4bs5So X-Received: by 2002:a05:6402:2289:: with SMTP id cw9mr13706157edb.319.1611836195811; Thu, 28 Jan 2021 04:16:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611836195; cv=none; d=google.com; s=arc-20160816; b=A1XbuUtS+5w41jrlI4+t4HyVvQgP2SaL0wHgXowuHsQzaWJ7B/pu9LsWdqGZ8xk1P5 v1JOJKHj4zz8rhBfnLvLdtD+jn9uauQss9T/3bmDPaEnnBK3uo3fEainLaO9fUnL/IsT SPH+a74NCIGu+wI2wgWkTV8hLUFnIKDUTGevo49B6J/S4apEHCXgrvLSyP2ReD66c7BV 1yLi6sh/TabNmHMfQCYHfXdMxeqOpqNfirwCFYIUh6J5soOx9Lp06MtldwctF0GfG355 qeOFjfIopc4t6hVtPalbHgMmwa9M3oFjH5CzvM9GNWrlYg9PicCISuFf9gPSt99s6lpO uw9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :ironport-sdr:ironport-sdr; bh=y8jyzzME6Ln0JtfKxgq+fQAFXl1T0ykUtdz4t5I+Fg0=; b=YTvQSYrvS9Bmy1gMKPmXFT7ZAaCxmvB6NI2/78qtDFo+mQCfNYV5R4kvSKVJE9l79Q PLQTOzenLTgxxliRw57oci/ToH6lPYYTV6Gt0huv+ljo4HuvzhVvTFznXAFh0LLl/VDz Mc/RAGJEqr5WKlN+opGSdfGKC2/t5mie2nW2l7YF1+5MYKKQqU2aTSiLv5kvFOF+IRw5 w/mJO6AQr/Q/qNziEU6vGk0GxORHtzduE9wjYWbKlfclncqy1GB2ET8zYQu+0USr2vb6 a9J2AAT3iXM6EKKvFF9WVWeqgDpjqd7HBGOihWI/1qP4SnxuVONFZw4LaX/tpLz6r2sV NhOQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f11si2856350edd.393.2021.01.28.04.16.11; Thu, 28 Jan 2021 04:16:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231501AbhA1MOw (ORCPT + 99 others); Thu, 28 Jan 2021 07:14:52 -0500 Received: from mga02.intel.com ([134.134.136.20]:32481 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229885AbhA1MOb (ORCPT ); Thu, 28 Jan 2021 07:14:31 -0500 IronPort-SDR: pIiWj2pV30Foq1FukymwGh4ZxWqSszd8fCIBRP1PxSCAyRAoSYs3lxAa1M72igBU52GGvyZv1C FNPa6Z5AXx4A== X-IronPort-AV: E=McAfee;i="6000,8403,9877"; a="167319667" X-IronPort-AV: E=Sophos;i="5.79,382,1602572400"; d="scan'208";a="167319667" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jan 2021 04:12:43 -0800 IronPort-SDR: zC4DqtbfJXQL7uE2Y+YHcv1o7qkYdztaHURyMsgDzrEDrmsLDBpzSh2OKVe45UfEbMwaFgRIeh UssRdfIYGi5A== X-IronPort-AV: E=Sophos;i="5.79,382,1602572400"; d="scan'208";a="403469617" Received: from smile.fi.intel.com (HELO smile) ([10.237.68.40]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jan 2021 04:12:39 -0800 Received: from andy by smile with local (Exim 4.94) (envelope-from ) id 1l56A8-0002Pd-4M; Thu, 28 Jan 2021 14:12:36 +0200 Date: Thu, 28 Jan 2021 14:12:36 +0200 From: Andy Shevchenko To: Yafang Shao Cc: david@redhat.com, vbabka@suse.cz, cl@linux.com, penberg@kernel.org, rientjes@google.com, iamjoonsoo.kim@lge.com, akpm@linux-foundation.org, pmladek@suse.com, rostedt@goodmis.org, sergey.senozhatsky@gmail.com, linux@rasmusvillemoes.dk, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/3] mm, printk: dump full information of page flags in pGp Message-ID: References: <20210128021947.22877-1-laoar.shao@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210128021947.22877-1-laoar.shao@gmail.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 28, 2021 at 10:19:44AM +0800, Yafang Shao wrote: > Currently the pGp only shows the names of page flags, rather than > the full information including section, node, zone, last cpupid and > kasan tag. While it is not easy to parse these information manually > because there're so many flavors. Let's interpret them in pGp as well. > > This patchset also includes some code cleanup in mm/slub.c. > > Below is the example of the output in mm/slub.c. > - Before the patchset > [ 6155.716018] INFO: Slab 0x000000004027dd4f objects=33 used=3 fp=0x000000008cd1579c flags=0x17ffffc0010200 > > - After the patchset > [ 6315.235783] ERR: Slab 0x000000006d1133b9 objects=33 used=3 fp=0x000000006d0779d1 flags=0x17ffffc0010200(Node 0x0,Zone 0x2,Lastcpupid 0x1fffff,slab|head) Please, add a corresponding test cases to test_printf.c. W/o test cases NAK. -- With Best Regards, Andy Shevchenko