From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl1-f200.google.com (mail-pl1-f200.google.com [209.85.214.200]) by kanga.kvack.org (Postfix) with ESMTP id 5B9A28E0001 for ; Thu, 20 Dec 2018 13:38:28 -0500 (EST) Received: by mail-pl1-f200.google.com with SMTP id o23so1997032pll.0 for ; Thu, 20 Dec 2018 10:38:28 -0800 (PST) Received: from smtprelay.synopsys.com (smtprelay4.synopsys.com. [198.182.47.9]) by mx.google.com with ESMTPS id j34si16292128pgj.557.2018.12.20.10.38.27 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 Dec 2018 10:38:27 -0800 (PST) From: Vineet Gupta Subject: Re: [PATCH 1/2] ARC: show_regs: avoid page allocator Date: Thu, 20 Dec 2018 18:38:26 +0000 Message-ID: References: <1545159239-30628-1-git-send-email-vgupta@synopsys.com> <1545159239-30628-2-git-send-email-vgupta@synopsys.com> <20181220125730.GA17350@dhcp22.suse.cz> Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Sender: owner-linux-mm@kvack.org List-ID: To: Michal Hocko Cc: "linux-snps-arc@lists.infradead.org" , "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" , "linux-arch@vger.kernel.org" , Peter Zijlstra On 12/20/18 4:57 AM, Michal Hocko wrote:=0A= >> Despite this, lockdep still barfs (see next change), but this patch=0A= >> still has merit as in we use smaller/localized buffers now and there's= =0A= >> less instructoh trace to sift thru when debugging pesky issues.=0A= > But show_regs is called from contexts which might be called from deep=0A= > call chains (e.g WARN). Is it safe to allocate such a large stack there?= =0A= =0A= ARC has 8K pages and 256 additional bytes of stack usage doesn't seem absur= dly=0A= high to me !=0A= =0A= -Vineet=0A=