Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3847211pxb; Mon, 1 Feb 2021 06:18:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJwudTCCKfsWw5kbqq3X6p5bAY/oHYipb3E36yVHFER43vizMw5IRqOGcHXJOrUMOJVV3h/X X-Received: by 2002:a17:906:f195:: with SMTP id gs21mr6066293ejb.225.1612189107150; Mon, 01 Feb 2021 06:18:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612189107; cv=none; d=google.com; s=arc-20160816; b=U/onUH2b/ftYSdv4zEzAC0dfuOSbwjo1h+8aCfLhRni0MDRvRGu8q6cuGt1UAFLfd+ 9dzgu4wdWI8shTojKk6foUJf7msdQbbrMbhq0Dllocyh20qAPbG8xxzoANgrd+HGvssD n1N8A6V5O4rXGxDK07aJ0sHUKyIDDZBMAdLmXoNxqbR+oyDsTnNmXGawMmBsh2yEZRp4 481hlM63FYiWJEm2X3LfIS8ZQg/rd262OYWfWinNWr9eOhP0Xr4ulnIvHyptIms9w1T5 W8K5h98gGX108z6+twLPqcDZFWFqSte+Ubb23xWkU+PwgCacXAaITwBSreYmA6dkYn/+ xkZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=MWlPy8C+pBGPMz0T1Jum1eQKXQgt1lI/s1CODUeEWFE=; b=x0SMcBK/f6OrtvpN7uUMBmTFNXpAs8SyvtIA3VYuEbxfyvRKowu5aGefKGURXpWC0T aT6P4mN+kJVqzmksiL94Of0mUhSLsJIWcKyWjfnoRGyhTSp1w1wGnx9sfUY1Ps1K+WMZ PWJBCVPyjqWYKatqLaAG7Tn1w07SFhBFPc9N9/npjQls2g4VBWFYwLcJTt1tPts5Add+ 6vcz2QVaX8FRU4iL/sH8OaaEO6beJXcMBq2jtq2iuRgHk2DkGmrtJntG85dN1SSC7z9V sSuIDLSGM6xRWLOiT9fuciZ2nsPkHponBOzcsGqDOuMambjCiukPcUzmsO4ufBCwmGlF 3RSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=BxK1TiUx; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ko21si4215022ejc.91.2021.02.01.06.18.02; Mon, 01 Feb 2021 06:18:27 -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; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=BxK1TiUx; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232201AbhBAOQX (ORCPT + 99 others); Mon, 1 Feb 2021 09:16:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54070 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231284AbhBAOQW (ORCPT ); Mon, 1 Feb 2021 09:16:22 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EBBCDC061573 for ; Mon, 1 Feb 2021 06:15:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=MWlPy8C+pBGPMz0T1Jum1eQKXQgt1lI/s1CODUeEWFE=; b=BxK1TiUxNkckQMGT+mO4ygmHY8 Wy3WRlsp3/4/laJL7sfuXoxd+7If/RhRvthiMRRSkonDLcPfjz9AiW1yu6Y+ONdgRrTG3+sXb9mWU iaLhAwlfcc2NDNkcWJR2iV8q1p0ZlFVbuQD/kWAW5tqokVDfnmRGv+b7wI9SCWVQo+BYXtpthaCzI mdFHd8ZWTgKEOpet3H0ZjxViqrzIMlI9Zbaend4Wn7kg01WX1OJqYgmNZc6ysjgpcoZMhWq5w7aAk vm9ZbQupfU8tmn8bzY9bqmGKqq17bCg69da9oZSavjNi9Z16X0aT7HqpunmwxV+2iQu60getI9PWR n0V6AVEQ==; Received: from willy by casper.infradead.org with local (Exim 4.94 #2 (Red Hat Linux)) id 1l6Zyr-00Drh0-Gr; Mon, 01 Feb 2021 14:15:05 +0000 Date: Mon, 1 Feb 2021 14:15:05 +0000 From: Matthew Wilcox To: Yafang Shao Cc: andriy.shevchenko@linux.intel.com, david@redhat.com, vbabka@suse.cz, linmiaohe@huawei.com, 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, Joe Perches Subject: Re: [PATCH v2 3/3] vsprintf: dump full information of page flags in pGp Message-ID: <20210201141505.GR308988@casper.infradead.org> References: <20210201115610.87808-1-laoar.shao@gmail.com> <20210201115610.87808-4-laoar.shao@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210201115610.87808-4-laoar.shao@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 01, 2021 at 07:56:10PM +0800, Yafang Shao wrote: > - Before the patch, > [ 6343.396602] Slab 0x000000004382e02b objects=33 used=3 fp=0x000000009ae06ffc flags=0x17ffffc0010200(slab|head) > > - After the patch, > [ 6871.296131] Slab 0x00000000c0e19a37 objects=33 used=3 fp=0x00000000c4902159 flags=0x17ffffc0010200(Node 0,Zone 2,Lastcpupid 0x1fffff,slab|head) I would suggest it will be easier to parse as: flags=0x17ffffc0010200(slab|head|node=0|zone=2|lastcpupid=0x1fffff) That should alleviate the concerns about debugfs format change -- we've never guaranteed that flag names won't change, and they now look enough like flags that parsers shouldn't fall over them.