From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754032AbbDOIpu (ORCPT ); Wed, 15 Apr 2015 04:45:50 -0400 Received: from mta-out1.inet.fi ([62.71.2.195]:40890 "EHLO jenni1.inet.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751909AbbDOIps (ORCPT ); Wed, 15 Apr 2015 04:45:48 -0400 Date: Wed, 15 Apr 2015 11:45:36 +0300 From: "Kirill A. Shutemov" To: Sasha Levin Cc: linux-kernel@vger.kernel.org, akpm@linux-foundation.org, linux-mm@kvack.org Subject: Re: [RFC 00/11] mm: debug: formatting memory management structs Message-ID: <20150415084536.GA27510@node.dhcp.inet.fi> References: <1429044993-1677-1-git-send-email-sasha.levin@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1429044993-1677-1-git-send-email-sasha.levin@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 On Tue, Apr 14, 2015 at 04:56:22PM -0400, Sasha Levin wrote: > This patch series adds knowledge about various memory management structures > to the standard print functions. > > In essence, it allows us to easily print those structures: > > printk("%pZp %pZm %pZv", page, mm, vma); Notably, you don't have \n in your format line. And it brings question how well dump_page() and friends fit printk-like interface. dump_page() produces multi-line print out. Is it something printk() users would expect? -- Kirill A. Shutemov