Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1651539

Re: [PATCH] livepatch: Make livepatch dependent on !TRIM_UNUSED_KSYMS

From Josh Poimboeuf <jpoimboe@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH] livepatch: Make livepatch dependent on !TRIM_UNUSED_KSYMS
Date 2017-05-26 19:50 +0200
Message-ID <tLrx8-r5-5@gated-at.bofh.it> (permalink)
References <tLmQO-5XE-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, May 26, 2017 at 02:45:21PM +0200, Miroslav Benes wrote:
> If TRIM_UNUSED_KSYMS is enabled, all unneeded exported symbols are made
> unexported. Two-pass build of the kernel is done to find out which
> symbols are needed based on a configuration. This effectively
> complicates things for out-of-tree modules.
> 
> Livepatch exports functions to (un)register and enable/disable a live
> patch. The only in-tree module which uses these functions is a sample in
> samples/livepatch/. If the sample is disabled, the functions are
> trimmed and out-of-tree live patches cannot be built.
> 
> Note that live patches are intended to be built out-of-tree.
> 
> Suggested-by: Michal Marek <mmarek@suse.com>
> Signed-off-by: Miroslav Benes <mbenes@suse.cz>

Acked-by: Josh Poimboeuf <jpoimboe@redhat.com>

-- 
Josh

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] livepatch: Make livepatch dependent on !TRIM_UNUSED_KSYMS Miroslav Benes <mbenes@suse.cz> - 2017-05-26 14:50 +0200
  Re: [PATCH] livepatch: Make livepatch dependent on !TRIM_UNUSED_KSYMS Josh Poimboeuf <jpoimboe@redhat.com> - 2017-05-26 19:50 +0200
  Re: [PATCH] livepatch: Make livepatch dependent on !TRIM_UNUSED_KSYMS Jessica Yu <jeyu@redhat.com> - 2017-05-27 03:30 +0200
  Re: [PATCH] livepatch: Make livepatch dependent on  !TRIM_UNUSED_KSYMS Jiri Kosina <jikos@kernel.org> - 2017-05-27 03:30 +0200

csiph-web