[lkml]   [2017]   [Oct]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
SubjectRe: [PREVIEW] Add x86 zstd kernel compression

On 10/05/2017 09:22 PM, Nick Terrell wrote:
> On 10/5/17, 1:18 AM, "René Rebe" <> wrote:
>> Hi Nick,
>> On Oct 5, 2017, at 1:29, Nick Terrell <> wrote:
>>> On 10/4/17, 3:01 AM, " on behalf of René Rebe" < on behalf of> wrote:
>>>> Hi,
>>>> I noticed zstd compression was recently added for btrfs and squashfs.
>>>> Are there actually already patches floating around for zstd kernel and intird compression?
>>>> Looks like that would be a quite nice fit regarding speed and compression ratio, …
>>>> Regards,
>>>> René
>>> I started working on some patches yesterday, and just got zstd kernel,
>>> initrd, and initramfs compression working today. I think I'll be ready to
>>> send the patches out within a week.
>> awesome, if you have something to test I could give it a try on my test bench, too.
> Here is a preview of the patch, though its not quite ready.
> I believe it works, but I still need to clean it up a bit, and split it
> into the decompression function, the initrd piece, and the x86 specific
> piece. I'll try to get the patch set out this week, and I'll CC you.

thanks for the preview, which I applied cleanly, modulo this white-space

diff --git a/lib/Kconfig b/lib/Kconfig
index b1445b2..02fdcac 100644
@@ -296,7 +300,7 @@ config GENERIC_ALLOCATOR
to the 4.14-rc2 tarball and it compiled and booted on x86-64,
including a zstd initrd!
Great work, will probably start testing it on my personal
laptop, to use the same compression everywhere.


René Rebe, ExactCODE GmbH, Lietzenburger Str. 42, DE-10117 Berlin | |
 \ /
  Last update: 2017-10-05 23:16    [W:0.026 / U:3.796 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site