[prev in list] [next in list] [prev in thread] [next in thread]
List: live-patching
Subject: Re: [PATCH 3/3] livepatch: Use static buffer for debugging messages under rq lock
From: Josh Poimboeuf <jpoimboe () redhat ! com>
Date: 2019-05-31 19:39:08
Message-ID: 20190531193908.nltikmafed36iozh () treble
[Download RAW message or body]
On Fri, May 31, 2019 at 09:41:47AM +0200, Petr Mladek wrote:
> 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.
>
> Signed-off-by: Petr Mladek <pmladek@suse.com>
> Acked-by: Miroslav Benes <mbenes@suse.cz>
> Reviewed-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
Acked-by: Josh Poimboeuf <jpoimboe@redhat.com>
--
Josh
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic