Re: [PATCH] objtool: Move objtool_file struct off the stack

2019-03-14 Thread Josh Poimboeuf
On Thu, Mar 14, 2019 at 06:31:37PM +0300, moos...@gmail.com wrote: > Josh Poimboeuf writes: > > > Objtool uses over 512k of stack, thanks to the hash table embedded in > > the objtool_file struct. This causes an unnecessarily large stack > > allocation and breaks users with low stack limits. > >

Re: [PATCH] objtool: Move objtool_file struct off the stack

2019-03-14 Thread moosotc
Josh Poimboeuf writes: > Objtool uses over 512k of stack, thanks to the hash table embedded in > the objtool_file struct. This causes an unnecessarily large stack > allocation and breaks users with low stack limits. > > Move the struct off the stack. > > Fixes: 042ba73fe7eb ("objtool: Add severa