Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965738AbbKDUlQ (ORCPT ); Wed, 4 Nov 2015 15:41:16 -0500 Received: from mail-wm0-f42.google.com ([74.125.82.42]:36825 "EHLO mail-wm0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965372AbbKDUlP (ORCPT ); Wed, 4 Nov 2015 15:41:15 -0500 Date: Wed, 4 Nov 2015 22:41:12 +0200 From: "Kirill A. Shutemov" To: Sasha Levin Cc: Vlastimil Babka , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Joonsoo Kim , Minchan Kim , "Kirill A. Shutemov" , Mel Gorman Subject: Re: [PATCH 5/5] mm, page_owner: dump page owner info from dump_page() Message-ID: <20151104204112.GA7614@node.shutemov.name> References: <1446649261-27122-1-git-send-email-vbabka@suse.cz> <1446649261-27122-6-git-send-email-vbabka@suse.cz> <20151104194104.GB13303@node.shutemov.name> <563A66B7.5090102@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <563A66B7.5090102@oracle.com> User-Agent: Mutt/1.5.23.1 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 900 Lines: 25 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/