All of lore.kernel.org
 help / color / mirror / Atom feed
From: Baptiste Jonglez <baptiste@bitsofnetworks.org>
To: "Jason A. Donenfeld" <Jason@zx2c4.com>
Cc: WireGuard mailing list <wireguard@lists.zx2c4.com>
Subject: Re: [WireGuard] OpenWRT package for wireguard
Date: Wed, 6 Jul 2016 17:08:45 +0200	[thread overview]
Message-ID: <20160706150845.GE2040@lud.polynome.dn42> (raw)
In-Reply-To: <CAHmME9paKdCr_-W5_PJ1nxnNqCLdbuJ04T+PUp2NaMZZV+K2Tg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 890 bytes --]

On Wed, Jul 06, 2016 at 11:56:28AM +0200, Jason A. Donenfeld wrote:
> On Wed, Jul 6, 2016 at 11:53 AM, Jason A. Donenfeld <Jason@zx2c4.com> wrote:
> > One aspect that contributes to the size of the kernel module is that
> > it can't be stripped in the same way a userspace binary can, because
> > it has to be dynamically linked into the kernel.
> 
> *ALTHOUGH* looking at the binary in the ipk closely, it looks like a
> LOT of those symbols actually could be stripped, since they're not
> exported and aren't external...

Interesting.  I found this script in LEDE:

  https://git.lede-project.org/?p=source.git;a=blob;f=scripts/strip-kmod.sh;hb=HEAD

But it's indeed possible that it's not run for kernel modules that are
built outside of the core system.  I will take a closer look.

Can you check that, for instance, the kmod-udptunnel modules are properly
stripped?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  parent reply	other threads:[~2016-07-06 15:08 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-29 11:24 [WireGuard] OpenWRT package for wireguard Baptiste Jonglez
2016-07-02 10:27 ` Baptiste Jonglez
2016-07-02 10:43   ` [WireGuard] Kernel symbol dependencies and KCONFIG usage for kernel packages Baptiste Jonglez
2016-07-02 10:54   ` [WireGuard] OpenWRT package for wireguard Jason A. Donenfeld
2016-07-04  7:48 ` Baptiste Jonglez
2016-07-04 12:16   ` Jason A. Donenfeld
2016-07-05 22:03   ` Baptiste Jonglez
2016-07-06  9:53     ` Jason A. Donenfeld
2016-07-06  9:56       ` Jason A. Donenfeld
2016-07-06 14:54         ` Jason A. Donenfeld
2016-07-06 15:16           ` Jason A. Donenfeld
2016-07-10 17:21           ` Baptiste Jonglez
2016-07-10 17:52             ` Jason A. Donenfeld
2016-07-10 17:56               ` Baptiste Jonglez
2016-07-06 15:08         ` Baptiste Jonglez [this message]
2016-07-06 15:21           ` Jason A. Donenfeld

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=20160706150845.GE2040@lud.polynome.dn42 \
    --to=baptiste@bitsofnetworks.org \
    --cc=Jason@zx2c4.com \
    --cc=wireguard@lists.zx2c4.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.