Messages in this thread | | | Date | Wed, 4 Nov 2015 22:41:12 +0200 | From | "Kirill A. Shutemov" <> | Subject | Re: [PATCH 5/5] mm, page_owner: dump page owner info from dump_page() |
| |
On Wed, Nov 04, 2015 at 03:12:39PM -0500, Sasha Levin wrote: > On 11/04/2015 02:41 PM, Kirill A. Shutemov wrote: > >> + dump_page_owner(page); > > I tend to put dump_page() into random places during debug. Dumping page > > owner for all dump_page() cases can be too verbose. > > > > Can we introduce dump_page_verbose() which would do usual dump_page() plus > > dump_page_owner()? > > > > Is there any existing piece of code that would use dump_page() rather than > dump_page_verbose()?
Good point. I think not.
So we can leave dump_page() with dump_page_owner() stuff and have __dump_page() or something as lighter version.
-- Kirill A. Shutemov
| |