Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp665208pxa; Wed, 19 Aug 2020 11:24:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzly7ZWhDrE2KER1oHCnbdjuan4PUx+6y7FQCAybtOq+bdjN6x0gQPzYbtva5EVP+brfkhG X-Received: by 2002:a05:6402:3070:: with SMTP id bs16mr25520142edb.269.1597861451548; Wed, 19 Aug 2020 11:24:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597861451; cv=none; d=google.com; s=arc-20160816; b=hy/xKNkatjmzb0ny4uQrVHwaSdXY4il88HtInNE3pT2FXMwqkBIhzyZja8Y5ylbzSe REdzqeJHl/T8/VoJihoM/4kF8zwXNoqAnZ8p/AobQ6NuaC1JgzfXKHMG+kYm0qbDtMXB ukax7AmYg2w9e0Ernnw9LGbzmCmbnJ8xAB5G16n3O6uo5QI6/d6xvOlhf6y7E/RU1Aik agl6t68pQd9GNGboh6z8rWtNrnbEUcvNRc64Z0HH2spTuq4PwahqGRAPVz0BRSqhuHix rTowlQVnnmss4objEwRTcPw4vlop67GFdZXlrKQ2f4j1yOGpek9DZGZ7GzR8thOuIIar YCDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=79ev9ikbUTXiBlx8BAwL5pB8K3ajpVCqOFOleujXdPo=; b=sdaouZniOlL94ZkidjpvEKaUffJaePMSvE2ZESp78swWdRwJ96noWSGcqIJbpxOAwA uv6DEPkT3D0z69GAcNJMsm2+GBEjaAmEi7QAjy0Rq9Unds7wsgMkl0UpUaGLcJO82M7l E0BJLj5gLKtHMy8PJLBZRMgG/jbeG6tz5oT+lSGgT87JUy/vOtpZWtiX6xwOUa9BDGh+ PG4cdl3EZQl9xb7Pel2QZlY6IjFFV85bIoRIbKhXVMxy3Wx9CGyFM2f2Yj+tvY6uQvqy +VKh+c0cvFo9ZjL9IxIZJOT0Z7U+9p5AFfyiIQmOVKEyQRf7IIXS5VhbumtE/xhG4wII OlWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b="IDQGdL/5"; 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 u20si15433246edq.501.2020.08.19.11.23.46; Wed, 19 Aug 2020 11:24:11 -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=@linux-foundation.org header.s=google header.b="IDQGdL/5"; 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 S1726707AbgHSSWp (ORCPT + 99 others); Wed, 19 Aug 2020 14:22:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58262 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726689AbgHSSWm (ORCPT ); Wed, 19 Aug 2020 14:22:42 -0400 Received: from mail-lj1-x241.google.com (mail-lj1-x241.google.com [IPv6:2a00:1450:4864:20::241]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3FC09C061757 for ; Wed, 19 Aug 2020 11:22:42 -0700 (PDT) Received: by mail-lj1-x241.google.com with SMTP id v4so26499047ljd.0 for ; Wed, 19 Aug 2020 11:22:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=79ev9ikbUTXiBlx8BAwL5pB8K3ajpVCqOFOleujXdPo=; b=IDQGdL/5id8GNxENSsHI2wxK4/GZ5xngsW+Eha1nuNKPmJGlqmvPbb8du9ZPBCBRRn gcwhHklx3dYgYVG5/IFLJAyq1IPOCPogblQ93UEr+8YMf1+mOELzQ2caUs5F4LoUFBf2 VLUHHA3n+6lCCXPn0GEIie4bewzMlUNpn7IrM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=79ev9ikbUTXiBlx8BAwL5pB8K3ajpVCqOFOleujXdPo=; b=dVAfmqetchPQGxwH8vbYFtFjZFko8ncKrgLe+HO9iWQOMoIMZeQcr0pQmHHzoi6E3d FyL4OLbJdLDjY4B7vlyHg2+0GCaf4rbsHIvCG7tnhFtfxClvu0h7J3zyQpdPb82eynlj 3/BNbD76BFkWGuWzspOAQElewTrHB9/U/7eiqGDAoCUwyaYm9yBdJvnTjl3XUOhbkQ0G u0ae/gHj4HRFenh8F3vbxoW1EGo79Zlv4k3kG2ajCdj5iP7OHjZfBUuuwHLaXiVpW8il hsBgOt6s8m7jvzoaKv4k3FsiQ3RvXvMcnKz8YabOX3IhvksZkzDR0u73P+MOqq73X4Uy fLDQ== X-Gm-Message-State: AOAM530fDXVR8UftefoVQwUncghrRsAH3/s+KP7bNJeitYbd77yXKkU5 nL9m897jbEreqcADFnCpyOSgs+gN9k9/SA== X-Received: by 2002:a2e:7006:: with SMTP id l6mr11088897ljc.107.1597861359648; Wed, 19 Aug 2020 11:22:39 -0700 (PDT) Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com. [209.85.167.45]) by smtp.gmail.com with ESMTPSA id g21sm6796298ljh.103.2020.08.19.11.22.38 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 19 Aug 2020 11:22:38 -0700 (PDT) Received: by mail-lf1-f45.google.com with SMTP id b11so12580988lfe.10 for ; Wed, 19 Aug 2020 11:22:38 -0700 (PDT) X-Received: by 2002:ac2:522b:: with SMTP id i11mr12977840lfl.30.1597861357867; Wed, 19 Aug 2020 11:22:37 -0700 (PDT) MIME-Version: 1.0 References: <9753118F-84DD-44C4-8B8C-F45B8EE0FC14@fb.com> <20200804234817.3922187-1-nivedita@alum.mit.edu> <20200804234817.3922187-2-nivedita@alum.mit.edu> <202008191111.4244B09D26@keescook> In-Reply-To: <202008191111.4244B09D26@keescook> From: Linus Torvalds Date: Wed, 19 Aug 2020 11:22:22 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/1] x86/boot/compressed: Use builtin mem functions for decompressor To: Kees Cook Cc: Arvind Sankar , Ingo Molnar , Andrew Morton , "the arch/x86 maintainers" , Linux Kernel Mailing List , Nick Terrell , Greg Kroah-Hartman , Yann Collet , Gao Xiang , Sven Schmidt <4sschmid@informatik.uni-hamburg.de> Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 19, 2020 at 11:14 AM Kees Cook wrote: > > Did anyone pick this up? (Ingo can you snag it, or maybe akpm who took > the LZ4-specific patch already?) This looks sane to me and provides some > surprising performance benefits. :) I'll take this and Arvind's freestanding patch too. Linus