From: Vineet Gupta Subject: Re: [PATCH 1/2] ARC: show_regs: avoid page allocator Date: Wed, 19 Dec 2018 13:36:43 -0800 Message-ID: References: <1545159239-30628-1-git-send-email-vgupta@synopsys.com> <1545159239-30628-2-git-send-email-vgupta@synopsys.com> <114881A8-8960-4436-AAE4-DE40BFFCFB4B@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <114881A8-8960-4436-AAE4-DE40BFFCFB4B@oracle.com> Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org To: William Kucharski Cc: linux-arch@vger.kernel.org, linux-mm@kvack.org, Peter Zijlstra , linux-snps-arc@lists.infradead.org, linux-kernel@vger.kernel.org List-Id: linux-arch.vger.kernel.org On 12/19/18 12:46 PM, William Kucharski wrote: > I would rather see 256 as a #define somewhere rather than a magic number sprinkled > around arch/arc/kernel/troubleshoot.c. That bothered me as well, but I was too lazy to define one and the existing ones don't apply. PATH_MAX is 4K which will blow up the stack usage. > > Still, that's what the existing code does, so I suppose it's OK. I'll define one locally. > Otherwise the change looks good. Thx for taking a look. > Reviewed-by: William Kucharski I'll add this to the patch. Thx, -Vineet