[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210208122009.GN308988@casper.infradead.org>
Date: Mon, 8 Feb 2021 12:20:09 +0000
From: Matthew Wilcox <willy@...radead.org>
To: Yafang Shao <laoar.shao@...il.com>
Cc: andriy.shevchenko@...ux.intel.com, david@...hat.com,
vbabka@...e.cz, cl@...ux.com, linmiaohe@...wei.com,
penberg@...nel.org, rientjes@...gle.com, iamjoonsoo.kim@....com,
akpm@...ux-foundation.org, pmladek@...e.com, rostedt@...dmis.org,
sergey.senozhatsky@...il.com, joe@...ches.com, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 0/3] mm, vsprintf: introduce new format to dump full
information of page flags
On Mon, Feb 08, 2021 at 06:14:36PM +0800, Yafang Shao wrote:
> To avoid breaking some tools which parsing pGp via debugfs or affecting
> the printf buffer, other new formats are introduced, so the user can choose
> what and in which order they want, suggested by Andy. These new introduced
> format as follows,
> pGpb: print other information first and then the names of page flags
> pGpl: print the names of page flags first and then the other info
This is overengineering things. We already print in little-endian order,
and the other information should be tacked onto the end. Just extend
%pGp. Andy's suggestion to add another flag was a bad one.
Powered by blists - more mailing lists