diff options
author | Petr Mladek <pmladek@suse.com> | 2019-05-31 09:41:47 +0200 |
---|---|---|
committer | Petr Mladek <pmladek@suse.com> | 2019-06-05 16:35:47 +0200 |
commit | f36e664516b02c7f54bbd3094bab047d54bb5488 (patch) | |
tree | 1b38ba781e732d39f39515b711aa37de47fe58bb /fs/fs_pin.c | |
parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/liv... (diff) | |
download | linux-f36e664516b02c7f54bbd3094bab047d54bb5488.tar.xz linux-f36e664516b02c7f54bbd3094bab047d54bb5488.zip |
livepatch: Use static buffer for debugging messages under rq lock
The err_buf array uses 128 bytes of stack space. Move it off the stack
by making it static. It's safe to use a shared buffer because
klp_try_switch_task() is called under klp_mutex.
Acked-by: Miroslav Benes <mbenes@suse.cz>
Acked-by: Josh Poimboeuf <jpoimboe@redhat.com>
Reviewed-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Diffstat (limited to 'fs/fs_pin.c')
0 files changed, 0 insertions, 0 deletions