On Mon, Feb 8, 2021 at 2:37 PM Matthew Wilcox <willy@xxxxxxxxxxxxx> wrote: > > 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. Fair enough, I can admit this because I don't know the mm specifics. However, my initial point was about the long message which might be cut into pieces during Oops or whatever and the user will get the first parts only. Depends on what you consider as a higher priority to print the order might be different. Initial patch suggested to print the new fields first. -- With Best Regards, Andy Shevchenko