Re: [PATCH 05/13] kallsyms: refactor {,module_}kallsyms_on_each_symbol

From
Petr Mladek <pmladek@suse.com>
Date
2021-02-03 08:59:28
Also in
dri-devel, linux-kbuild, linuxppc-dev, lkml
Reply to
Christoph Hellwig, 2021-02-02
On Tue 2021-02-02 13:13:26, Christoph Hellwig wrote:
Require an explicit call to module_kallsyms_on_each_symbol to look
for symbols in modules instead of the call from kallsyms_on_each_symbol,
and acquire module_mutex inside of module_kallsyms_on_each_symbol instead
of leaving that up to the caller.  Note that this slightly changes the
behavior for the livepatch code in that the symbols from vmlinux are not
iterated anymore if objname is set, but that actually is the desired
behavior in this case.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Miroslav Benes <mbenes@suse.cz>
Reviewed-by: Petr Mladek <pmladek@suse.com>

Best Regards,
Petr
Thread (31 messages) 31 messages, 6 authors, last reply 2021-02-08
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help