Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp2209155ybh; Fri, 24 Jul 2020 07:10:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxohTjGPJT6sL1gOAx7I/CakIGaljogI9umKYuDXI34oAK6T8rcyY3ggwNmsQhJYfdaHaNd X-Received: by 2002:a05:6402:202e:: with SMTP id ay14mr9103695edb.233.1595599823923; Fri, 24 Jul 2020 07:10:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595599823; cv=none; d=google.com; s=arc-20160816; b=GxKXfE9Ub+xwcrIl82sv5dsIO7EFfnu6lyIZWj4uoKLZF1UrL3aojSUknDv8iCPOlN M5g13yO1qhYVQWezEynBeOBQfEIx5ZqxOGXBFQk2aVRv9nzKBLPYk5d3nve9hnX6Lnwl NumEuRNRR7WoMxaCU01yL0zViZrVNjmZd3ALgis0cHzLq9kA0KuOiOCBD4wENvX1yf8u 8zacZiGBJ7J5wO35U3h3tbpB2vHzbj6+JJBiHg21P4sIW2j9JZzaQiHDqItHIQdfjZ+G uVCgPMthf/oIyENPrnHqcu2NDyT/YXpZAWDTu7uhIS2kTT+parCCronMhTkVd6AgEb8o 1Fvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=OvEbCg7ckzbXNyo/gMjDATQvRtip48YcOlEFAJEKOQs=; b=T9zKeqf+RyupcLgT7qYr2ZfU6dr9roRhjsa0Xy0Q/lpBOKrMgmxQ24Eix+JxV9vobN +VINhR9MaYZi1NfTN5xXZcs/IX1oj76uky3ZtArativCAItR/h4hQPqaqcWbXXpyb88y EDXvDN61W/KoAa4hu7U6X/vGj4J1LXmYRty1oiO+eUvcNBPntflOqNVklBi33wD8si96 Cs1F/rwJyrXa4MMR9q6i+V5Z2kqRZko8s+EcmXUi1Qv4oiu5wudbRde76Yu1TwbXR7e6 3Mi7Uf4Vz7ZRyV65gw1Z/F6EvxJnSQvMfR+bmH9Qd+olDY1PvRxSuxjY/AR4fQXHq7/K TTJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=q+FMKU2m; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d3si622231edn.145.2020.07.24.07.10.00; Fri, 24 Jul 2020 07:10:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=q+FMKU2m; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726728AbgGXOJl (ORCPT + 99 others); Fri, 24 Jul 2020 10:09:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43850 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726366AbgGXOJl (ORCPT ); Fri, 24 Jul 2020 10:09:41 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 20FF4C0619D3; Fri, 24 Jul 2020 07:09:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description; bh=OvEbCg7ckzbXNyo/gMjDATQvRtip48YcOlEFAJEKOQs=; b=q+FMKU2mxdMDch9CB8GR20xtLq uRUTjTd9nZjxatLRB9TbVqVVLttl5cPzaPu3ix+ZFzgZtQTVATaNmF5fnAOf2nCE6KmOCygLYKzrT BCNQRh2N2sxE3XAvDN+4+T9cpJWS2CnNGbe984/lWfpDXIfYlWfeqdT2ZV7sueypsLxvX4mjTVpvU bxeYscndiS79nII1KxUy+y1Qr7EDxaSingOHc1eA35cx/aJJXSid48jNVbFvSqXRnf9+mcsy6jqRn NMmNAlkNwQLCJ/yiV3RoIWh0PMULhfLM7dDAmsfZTv16dCKhl84aMsN3W08W5Z2cpVyKEzjqAY+ys 2gJ9KaiA==; Received: from [2601:1c0:6280:3f0::19c2] by casper.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jyyO4-00031c-KH; Fri, 24 Jul 2020 14:09:25 +0000 Subject: Re: [PATCH v8 3/7] init: add support for zstd compressed kernel To: Ingo Molnar Cc: Nick Terrell , Borislav Petkov , Thomas Gleixner , linux-kernel@vger.kernel.org, Chris Mason , linux-kbuild@vger.kernel.org, x86@kernel.org, gregkh@linuxfoundation.org, Petr Malat , Kees Cook , Kernel Team , Adam Borowski , Patrick Williams , rmikey@fb.com, Patrick Williams , Sedat Dilek , Norbert Lange , Andrew Morton , Alex Xu , Arvind Sankar , Nick Terrell References: <20200723192801.351114-1-nickrterrell@gmail.com> <20200723192801.351114-4-nickrterrell@gmail.com> <9ff49261-f5fd-b8dd-949a-0b8eab75369b@infradead.org> <20200724121716.GB632343@gmail.com> From: Randy Dunlap Message-ID: <5a93016a-2b88-b762-1569-c47472fe2a24@infradead.org> Date: Fri, 24 Jul 2020 07:09:18 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20200724121716.GB632343@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/24/20 5:17 AM, Ingo Molnar wrote: > > * Randy Dunlap wrote: > >> On 7/23/20 12:27 PM, Nick Terrell wrote: >>> +config KERNEL_ZSTD >>> + bool "ZSTD" >>> + depends on HAVE_KERNEL_ZSTD >>> + help >>> + ZSTD is a compression algorithm targeting intermediate compression >>> + with fast decompression speed. It will compress better than GZIP and >>> + decompress around the same speed as LZO, but slower than LZ4. You >>> + will need at least 192 KB RAM or more for booting. The zstd command >>> + line tools is required for compression. >> >> tools are required > > Since 'zstd' is the singular tool required for compression AFAICS: > > LZ4 = lz4c > XZ = xz > +ZSTD = zstd > > "The zstd command line tool is required for compression" is the > intended wording I'd say? Sure, that works. Thanks. -- ~Randy