Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1262579

Re: [PATCH 5/5] mm, page_owner: dump page owner info from dump_page()

From "Kirill A. Shutemov" <kirill@shutemov.name>
Newsgroups linux.kernel
Subject Re: [PATCH 5/5] mm, page_owner: dump page owner info from dump_page()
Date 2015-11-04 21:50 +0100
Message-ID <qrdah-5oe-3@gated-at.bofh.it> (permalink)
References <qr7Rf-24F-3@gated-at.bofh.it> <qr7Rg-24F-15@gated-at.bofh.it> <qrcee-4Ne-17@gated-at.bofh.it> <qrcHh-5df-33@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/5] page_owner improvements for debugging Vlastimil Babka <vbabka@suse.cz> - 2015-11-04 16:10 +0100
  [PATCH 4/5] mm, page_owner: track last migrate reason Vlastimil Babka <vbabka@suse.cz> - 2015-11-04 16:10 +0100
  [PATCH 5/5] mm, page_owner: dump page owner info from dump_page() Vlastimil Babka <vbabka@suse.cz> - 2015-11-04 16:10 +0100
    Re: [PATCH 5/5] mm, page_owner: dump page owner info from dump_page() "Kirill A. Shutemov" <kirill@shutemov.name> - 2015-11-04 20:50 +0100
      Re: [PATCH 5/5] mm, page_owner: dump page owner info from dump_page() Sasha Levin <sasha.levin@oracle.com> - 2015-11-04 21:20 +0100
        Re: [PATCH 5/5] mm, page_owner: dump page owner info from dump_page() "Kirill A. Shutemov" <kirill@shutemov.name> - 2015-11-04 21:50 +0100
  [PATCH 1/5] mm, page_owner: print migratetype of a page, not pageblock Vlastimil Babka <vbabka@suse.cz> - 2015-11-04 16:10 +0100
    Re: [PATCH 1/5] mm, page_owner: print migratetype of a page, not  pageblock Joonsoo Kim <iamjoonsoo.kim@lge.com> - 2015-11-05 09:10 +0100
      Re: [PATCH 1/5] mm, page_owner: print migratetype of a page, not  pageblock Joonsoo Kim <iamjoonsoo.kim@lge.com> - 2015-11-05 09:20 +0100
      Re: [PATCH 1/5] mm, page_owner: print migratetype of a page, not  pageblock Vlastimil Babka <vbabka@suse.cz> - 2015-11-05 09:20 +0100
  [PATCH 2/5] mm, page_owner: convert page_owner_inited to static key Vlastimil Babka <vbabka@suse.cz> - 2015-11-04 16:10 +0100

csiph-web