linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Piotr Gorski <lucjan.lucjanov@gmail.com>
To: lucjan.lucjanov@gmail.com
Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org,
	masahiroy@kernel.org, oleksandr@natalenko.name,
	sedat.dilek@gmail.com
Subject: Subject: Re: [PATCH v3] kbuild: add support for zstd compressed modules
Date: Fri,  9 Apr 2021 13:10:33 +0200	[thread overview]
Message-ID: <20210409111033.2465074-1-lucjan.lucjanov@gmail.com> (raw)
In-Reply-To: <20210407160927.222092-1-lucjan.lucjanov@gmail.com>

I originally posted the patch in a different form [1] even before Masahiro's changes. 
I've been testing this solution since December last year and posted it in March this year, 
after I made sure everything was working fine. This patch was tested by Oleksandr and he also didn't report any objections. [2]

Masahiro notified me about the planned changes [3] and asked me to resend this patch, adjusted to those changes, which I did.

My current logs:

lucjan@archlinux ~ $ zgrep CONFIG_DEBUG_INFO /proc/config.gz
CONFIG_DEBUG_INFO=y
# CONFIG_DEBUG_INFO_REDUCED is not set
# CONFIG_DEBUG_INFO_COMPRESSED is not set
# CONFIG_DEBUG_INFO_SPLIT is not set
CONFIG_DEBUG_INFO_DWARF4=y
CONFIG_DEBUG_INFO_BTF=y
CONFIG_DEBUG_INFO_BTF_MODULES=y
lucjan@archlinux ~ $ zgrep CONFIG_MODULE_COMPRESS_ZSTD /proc/config.gz
CONFIG_MODULE_COMPRESS_ZSTD=y
CONFIG_MODULE_COMPRESS_ZSTD_LEVEL=19

Pay no attention to CONFIG_MODULE_COMPRESS_ZSTD_LEVEL as this is not in the upstream, it's an additional patch I use. 

The only difference - I don't use clang. Maybe those who use will comment on this. 
I relied on the opinions of Oleksander and a dozen other users who reported no errors in using zstd module compression.  

[1] https://marc.info/?l=linux-kbuild&m=161710402402989&w=2

[2] https://marc.info/?l=linux-kbuild&m=161710503403517&w=2

[3] https://marc.info/?l=linux-kbuild&m=161780602730829&w=2

  parent reply	other threads:[~2021-04-09 11:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-07 16:09 [PATCH v3] kbuild: add support for zstd compressed modules Piotr Gorski
2021-04-07 17:41 ` Masahiro Yamada
2021-04-08 21:04 ` Subject: " Piotr Gorski
2021-04-09 10:30   ` Sedat Dilek
2021-04-09 11:10 ` Piotr Gorski [this message]
2021-04-09 11:31   ` Sedat Dilek
2021-04-09 11:51     ` Sedat Dilek

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=20210409111033.2465074-1-lucjan.lucjanov@gmail.com \
    --to=lucjan.lucjanov@gmail.com \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=masahiroy@kernel.org \
    --cc=oleksandr@natalenko.name \
    --cc=sedat.dilek@gmail.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;
as well as URLs for NNTP newsgroup(s).