Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754442AbdC1GVB (ORCPT ); Tue, 28 Mar 2017 02:21:01 -0400 Received: from mail-wr0-f194.google.com ([209.85.128.194]:34111 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753925AbdC1GU6 (ORCPT ); Tue, 28 Mar 2017 02:20:58 -0400 Date: Tue, 28 Mar 2017 08:12:59 +0200 From: Ingo Molnar To: "Kirill A. Shutemov" Cc: Linus Torvalds , Andrew Morton , x86@kernel.org, Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Andi Kleen , Dave Hansen , Andy Lutomirski , linux-arch@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 6/8] x86/dump_pagetables: Add support 5-level paging Message-ID: <20170328061259.GC20135@gmail.com> References: <20170327162925.16092-1-kirill.shutemov@linux.intel.com> <20170327162925.16092-7-kirill.shutemov@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170327162925.16092-7-kirill.shutemov@linux.intel.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 535 Lines: 21 * Kirill A. Shutemov wrote: > +#if PTRS_PER_P4D > 1 > + > +static void walk_p4d_level(struct seq_file *m, struct pg_state *st, pgd_t addr, > + unsigned long P) Pretty ugly line break. Either don't break the line, or break it in a more logical place, like: static void walk_p4d_level(struct seq_file *m, struct pg_state *st, pgd_t addr, unsigned long P) > + start = (p4d_t *) pgd_page_vaddr(addr); The space between the type cast and the function invocation is not needed. Thanks, Ingo