lkml.org 
[lkml]   [2018]   [Dec]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 1/2] ARC: show_regs: avoid page allocator
Date
On 12/20/18 4:57 AM, Michal Hocko wrote:
>> Despite this, lockdep still barfs (see next change), but this patch
>> still has merit as in we use smaller/localized buffers now and there's
>> less instructoh trace to sift thru when debugging pesky issues.
> But show_regs is called from contexts which might be called from deep
> call chains (e.g WARN). Is it safe to allocate such a large stack there?

ARC has 8K pages and 256 additional bytes of stack usage doesn't seem absurdly
high to me !

-Vineet

\
 
 \ /
  Last update: 2018-12-20 19:38    [W:0.365 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site