Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751452AbeAIJGE (ORCPT + 1 other); Tue, 9 Jan 2018 04:06:04 -0500 Received: from mail-wm0-f44.google.com ([74.125.82.44]:34850 "EHLO mail-wm0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750915AbeAIJF4 (ORCPT ); Tue, 9 Jan 2018 04:05:56 -0500 X-Google-Smtp-Source: ACJfBotg7S9NNkYsAENkr/vjfb1y3M8KG0h+K27fpjfCTjhyHXuB5wlj6pMz/mHXYDvGkglyWKe9TQ== Date: Tue, 9 Jan 2018 12:05:52 +0300 From: "Kirill A. Shutemov" To: Dave Young Cc: Baoquan He , Ingo Molnar , Mike Galbraith , Andrew Morton , "Kirill A. Shutemov" , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, stable@vger.kernel.org, Andy Lutomirski , Borislav Petkov , Cyrill Gorcunov , Linus Torvalds , Peter Zijlstra , Thomas Gleixner , linux-mm@kvack.org, Vivek Goyal , kexec@lists.infradead.org Subject: Re: [PATCH 4.14 023/159] mm/sparsemem: Allocate mem_section at runtime for CONFIG_SPARSEMEM_EXTREME=y Message-ID: <20180109090552.45ddfk2y25lf4uyn@node.shutemov.name> References: <20171222084623.668990192@linuxfoundation.org> <20171222084625.007160464@linuxfoundation.org> <1515302062.6507.18.camel@gmx.de> <20180108160444.2ol4fvgqbxnjmlpg@gmail.com> <20180108174653.7muglyihpngxp5tl@black.fi.intel.com> <20180109001303.dy73bpixsaegn4ol@node.shutemov.name> <20180109010927.GA2082@dhcp-128-65.nay.redhat.com> <20180109054131.GB1935@localhost.localdomain> <20180109072440.GA6521@dhcp-128-65.nay.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180109072440.GA6521@dhcp-128-65.nay.redhat.com> User-Agent: NeoMutt/20171215 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Tue, Jan 09, 2018 at 03:24:40PM +0800, Dave Young wrote: > On 01/09/18 at 01:41pm, Baoquan He wrote: > > On 01/09/18 at 09:09am, Dave Young wrote: > > > > > As for the macro name, VMCOREINFO_SYMBOL_ARRAY sounds better. Yep, that's better. > > I still think using vmcoreinfo_append_str is better. Unless we replace > > all array variables with the newly added macro. > > > > vmcoreinfo_append_str("SYMBOL(mem_section)=%lx\n", > > (unsigned long)mem_section); > > I have no strong opinion, either change all array uses or just introduce > the macro and start to use it from now on if we have similar array > symbols. Do you need some action on my side or will you folks take care about this? -- Kirill A. Shutemov