Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2441940ybt; Fri, 3 Jul 2020 09:08:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwnbQEiteATkdASHb+uxZykXKIYd53PqPPSI5F4Km/ZumqYSkoDxdcgKhZOiY984a0SIKtt X-Received: by 2002:a17:906:178b:: with SMTP id t11mr13318789eje.489.1593792516595; Fri, 03 Jul 2020 09:08:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593792516; cv=none; d=google.com; s=arc-20160816; b=0fFSW+HYYM1wpapHdgGlRP5qbYh6HnBMBK5FGl8jsy48hGta0A8OzNLlAqqKjcTEM8 uSMaa/Vslg68a00qGayvzGcQ8zfhpQnp3pdXFPbuLgOSFokn61el6Bkc1Gy65SBNHz6/ MQ6bcm82cni2u/Oh3vPIniOBMxc6NVLkKo3LgqJO++O6QoEVHtETcrtxq9qxY5OTqfYY icuyh47+n25+w5RV3C3Wn0H2SXJcgGj8KwROQsO8E/bcc67ny3PeJ+5RdnNssKcqvK3D KXzjBezh/trFkYVypwdfmhz6mg/t+xiAvxKAuzKTAThT0Kys9homwVXAXV3jvjJCaGKl CUWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=1ANmHIkdhdbmMC6rHqZfoECsaO4JBHol4C5IBX2IizU=; b=Cqmu+6TqDM/epMHnUJHa9vc1hFRFVuKYrw2Zh0E90SzltnVSVUbVaSL6Ec929R7jZN 7MD6Io14OKhQXtD7ihDuTTy8VR48+XS4XAvXG7jzqu+ljeL8hJf2ra8U83lkqcXud7y9 GQv34S7rSfD4UgbQwBiCH/WGHsFGp1tjZAUpFmrR8yMyFC6MrV+iGddvaMRNFRdluUT/ 1K7NpBq4IiG38gItO3yzCuIvJygr3tJjZwKCrOItcjdnZmRUj5xQDv4pHjDMEmRgDt7e vKDm017L+GjJyUDoGxKHFR4TmgIv3GZdGSMQjAsNxGxGGxTqq+5RXok5VDx6OPLjilRa 6k6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=HFayUcis; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id zn5si8518948ejb.583.2020.07.03.09.08.14; Fri, 03 Jul 2020 09:08:36 -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=pass header.i=@chromium.org header.s=google header.b=HFayUcis; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726417AbgGCQGT (ORCPT + 99 others); Fri, 3 Jul 2020 12:06:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57950 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726148AbgGCQGT (ORCPT ); Fri, 3 Jul 2020 12:06:19 -0400 Received: from mail-pl1-x641.google.com (mail-pl1-x641.google.com [IPv6:2607:f8b0:4864:20::641]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED3BEC061794 for ; Fri, 3 Jul 2020 09:06:18 -0700 (PDT) Received: by mail-pl1-x641.google.com with SMTP id d10so12804331pls.5 for ; Fri, 03 Jul 2020 09:06:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=1ANmHIkdhdbmMC6rHqZfoECsaO4JBHol4C5IBX2IizU=; b=HFayUcisMm2FSwyAwm0jeH6EfqgecuoZbEcpmQ1Tlhse6FsJi3EYaivE6krp6xloYC HNwYLi+KdsnWJXNYUEit4+y3jxwfa6ADt35ntvBQuFY8YgJpnvQUhT0Hn3z+FYbxxtY8 x5vkr++TRvWMgNpIeFUFkdmHedpTth2iV5nGk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=1ANmHIkdhdbmMC6rHqZfoECsaO4JBHol4C5IBX2IizU=; b=ESmE5CRQWOOu3eFdatWezQu9trScHDpJY2v1VLKdI7bn90cIQE/J6fd1/aW8cCiEKz w7RohjzYt0tCky4K7lGnsii/TnHzQDevdrodcYDsvNG3asz7ZynrAbCGntbQKDE4O93J zyEGrCaseTmCzRXSOLVesMeZsomLgG/68/8rs0J/bkAa5qnCiekpNbSzgZSW/JospC/e HOX55sFb+9HsjKQ/2rECHOBZ3tIZ4lUZ2gAH/L2aOVlwlSrd1RtpcpQgFke1oOvCrlxt OAgnCUATeqWsG/2tjYrErxmBAKOH4vpGXrzWIQ7Ur2LF0Q3t65QIQqPK6Xrak6G1WBN0 Orug== X-Gm-Message-State: AOAM532RgG3KpYEaDHAzsHSPgOXMK9N1oyzIgFA7u1Mhe+pvgSyxn8bE ozQlGojijUO5FzlVCH2wqPtNmQ== X-Received: by 2002:a17:90a:2465:: with SMTP id h92mr8378801pje.26.1593792378394; Fri, 03 Jul 2020 09:06:18 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id y7sm11482823pgk.93.2020.07.03.09.06.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Jul 2020 09:06:17 -0700 (PDT) Date: Fri, 3 Jul 2020 09:06:16 -0700 From: Kees Cook To: Nick Terrell , Nick Terrell Cc: Sedat Dilek , "Alex Xu (Hello71)" , linux-kernel@vger.kernel.org, Norbert Lange , Chris Mason , linux-kbuild@vger.kernel.org, x86@kernel.org, gregkh@linuxfoundation.org, Petr Malat , Kernel Team , Adam Borowski , Patrick Williams , rmikey@fb.com, mingo@kernel.org, Patrick Williams Subject: Re: Kernel compression benchmarks Message-ID: <202007030855.ED7AABDF@keescook> References: <1588791882.08g1378g67.none.ref@localhost> <1588791882.08g1378g67.none@localhost> <202007020818.87EA89106@keescook> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 03, 2020 at 10:15:20AM +0200, Sedat Dilek wrote: > On Thu, Jul 2, 2020 at 5:18 PM Kees Cook wrote: > > > > On Wed, Jul 01, 2020 at 10:35:48AM -0400, Alex Xu (Hello71) wrote: > > > ZSTD compression patches have been sent in a number of times over the > > > past few years. Every time, someone asks for benchmarks. Every time, > > > someone is concerned about compression time. Sometimes, someone provides > > > benchmarks. > > > > Where's the latest series for this, btw? I thought it had landed. :P It > > seemed like it was done. > > > > Hi, > > Again, I would like to see this upstream, too. > > Last I asked for a rebase against Linux v5.8-rc1 or later. > > Beyond above adaptations, the latest series "zstd-v5" of Nick T.s > patchset needs some addition of zstd to the patch (see [1]): > > commit 8dfb61dcbaceb19a5ded5e9c9dcf8d05acc32294 > "kbuild: add variables for compression tools" > > NOTE: > "zstd-v5" was against Linux-next 20200408 or download the series from > patchwork LKML which applies cleanly against Linux v5.7 - last is what > I did. > > There was a follow-up to the above patch (see [2]): > > commit e4a42c82e943b97ce124539fcd7a47445b43fa0d > "kbuild: fix broken builds because of GZIP,BZIP2,LZOP variables" Okay, cool. Yes, now is the right time to send an updated series based on v5.8-rc2 with any outstanding adjusted/fixes made. It seems v5 is here? https://lore.kernel.org/lkml/20200408215711.137639-1-nickrterrell@gmail.com/ That wasn't sent "to" a maintainer, so it likely went unnoticed by either akpm or the x86 maintainers. I think this should likely go via the x86 tree. > Nevertheless, this is the kernel-side of doing - user-space like for > example Debian's initramfs-tools needs adaptations (see [3]). Right, but the kernel needs to implement the support first. :) > @Kees: Can you aid Nick T. to get this upstream? You know the > processes a bit better than me. Sure; Nick, can you please rebase and handle any issues from v5? With the result, send a v6 as you did for v5 before, but I would make your "to" be: Borislav Petkov Thomas Gleixner and keep the CC as you had it. -- Kees Cook