mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jiri Kosina <jikos@kernel.org>
To: Miroslav Benes <mbenes@suse.cz>
Cc: jpoimboe@redhat.com, jeyu@redhat.com, mmarek@suse.com,
	pmladek@suse.com, jmoreira@suse.de,
	live-patching@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] livepatch: Make livepatch dependent on !TRIM_UNUSED_KSYMS
Date: Sat, 27 May 2017 00:28:33 +0200 (CEST)	[thread overview]
Message-ID: <alpine.LSU.2.20.1705270028200.26873@cbobk.fhfr.pm> (raw)
In-Reply-To: <20170526124521.28592-1-mbenes@suse.cz>

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@suse.com>
> Signed-off-by: Miroslav Benes <mbenes@suse.cz>

Applied, thanks.

-- 
Jiri Kosina
SUSE Labs

      parent reply	other threads:[~2017-05-27  1:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-26 12:45 Miroslav Benes
2017-05-26 17:41 ` Josh Poimboeuf
2017-05-26 21:53 ` Jessica Yu
2017-05-26 22:28 ` Jiri Kosina [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LSU.2.20.1705270028200.26873@cbobk.fhfr.pm \
    --to=jikos@kernel.org \
    --cc=jeyu@redhat.com \
    --cc=jmoreira@suse.de \
    --cc=jpoimboe@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=live-patching@vger.kernel.org \
    --cc=mbenes@suse.cz \
    --cc=mmarek@suse.com \
    --cc=pmladek@suse.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®