Messages in this thread | | | From | Vineet Gupta <> | Subject | Re: [PATCH 1/2] ARC: show_regs: avoid page allocator | Date | Thu, 20 Dec 2018 18:38:26 +0000 |
| |
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
| |