[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.LSU.2.20.1705270028200.26873@cbobk.fhfr.pm>
Date: Sat, 27 May 2017 00:28:33 +0200 (CEST)
From: Jiri Kosina <jikos@...nel.org>
To: Miroslav Benes <mbenes@...e.cz>
cc: jpoimboe@...hat.com, jeyu@...hat.com, mmarek@...e.com,
pmladek@...e.com, jmoreira@...e.de, live-patching@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] livepatch: Make livepatch dependent on
!TRIM_UNUSED_KSYMS
On Fri, 26 May 2017, 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@...e.com>
> Signed-off-by: Miroslav Benes <mbenes@...e.cz>
Applied, thanks.
--
Jiri Kosina
SUSE Labs
Powered by blists - more mailing lists