commit | df92dcbc4b84b02ffa252f46876df125fb56e2d7 | [log] [tgz] |
---|---|---|
author | Josh Poimboeuf <jpoimboe@redhat.com> | Tue Mar 12 11:28:55 2019 -0500 |
committer | Josh Poimboeuf <jpoimboe@redhat.com> | Thu Mar 14 11:15:22 2019 -0500 |
tree | 8ebe5a8d30de142a5681338697f3954878589089 | |
parent | 2d8fdbb66245d0baf7650214373d7443eee0d904 [diff] |
objtool: Move objtool_file struct off the stack 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 several performance improvements") Reported-by: Vassili Karpov <moosotc@gmail.com> Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>