lkml.org 
[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
From
Date
Hi,

On 10/05/2017 09:22 PM, Nick Terrell wrote:
> On 10/5/17, 1:18 AM, "René Rebe" <rene@exactcode.com> wrote:
>>
>> Hi Nick,
>>
>> On Oct 5, 2017, at 1:29, Nick Terrell <terrelln@fb.com> wrote:
>>
>>> On 10/4/17, 3:01 AM, "linux-kernel-owner@vger.kernel.org on behalf of René Rebe" <linux-kernel-owner@vger.kernel.org on behalf of rene@exactcode.com> 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
chunk:

diff --git a/lib/Kconfig b/lib/Kconfig
index b1445b2..02fdcac 100644
@@ -296,7 +300,7 @@ config GENERIC_ALLOCATOR
#
config REED_SOLOMON
tristate
-
+
config REED_SOLOMON_ENC8
bool
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.

Regards,
René

--
René Rebe, ExactCODE GmbH, Lietzenburger Str. 42, DE-10117 Berlin
http://exactcode.com | http://t2-project.org | http://rene.rebe.de
\
 
 \ /
  Last update: 2017-10-05 23:16    [W:0.057 / U:0.348 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site