Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp3668528imm; Mon, 8 Oct 2018 07:44:11 -0700 (PDT) X-Google-Smtp-Source: ACcGV60vLNZoXzPdSPT8dKOQKoUPqohKeyXJi7o2TAcr/qp//BK0CRX57VPcLTYAC4lFv0KNU7BD X-Received: by 2002:a63:844:: with SMTP id 65-v6mr21062709pgi.144.1539009851607; Mon, 08 Oct 2018 07:44:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539009851; cv=none; d=google.com; s=arc-20160816; b=rrWLXtN91XuDh80f4CBOOn2CSENZX+yzUAarTU4bKwtpo17eUsqF8PKnjKm9JV2NGK OgCjrTtb5EcoDLILajbyvdlOj2XrNguwySgOMnccvJrDOy57ng6iqeBfKMoaUlMhYe+R INl+gWmAyi2io44SGPw8n1lTKNsjJcLbfcJTWDc7oLFxegUxPMIUzkPe/hhuellBVg1w tRXE616GTxlCaY+xY4uwrRtws4u+Qie3E+9tcrmNZIr5OS/jbHOSWJnIhklTTHFDyyTI Yz8UWPaiTxbOrjKNYMm1BoZroYAt1QSc55bK8bTOGlpjS+6CIpkRZppRFcaogZ8fsEU9 G+Zw== 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:in-reply-to :mime-version:user-agent:date:message-id:references:cc:to:from :subject; bh=EjE8SkrkOcWuoKAFkYgQmUDxIVkU4iTGcSOywfLQxqY=; b=FqxvYfHyaqQPL5k00sIG5QQZaPpRXAKSInNxtj23pwAJOEQOuXgytQ1lx6jHFejWfu rHDs5nHX7znlUJhV6u50HYzpRGr7TDjR6Nir5B/ksIWAYvou23JX9afusrMowtnrqN0S 25zym386AzJwdeesKIfqlWbjzaxPcVKnTqUF7sNQ2dmj8FOa+BEjICZzMCz508mJNbiX 1Db9jpH7in+mjQMU7UaCnT4Q4Z1eCB4gxxi+anb5xXkajIZUrScVG+08uCjXszzNdcnH WuOFdxHgdbIN4ZDL5WUcVl53hn72Ng6yQxNOMZsi7RqdBaoLoGd3wl/B2dnNS+EiJ3Du 5hfw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d23-v6si17832729plr.127.2018.10.08.07.43.56; Mon, 08 Oct 2018 07:44:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726564AbeJHVyE (ORCPT + 99 others); Mon, 8 Oct 2018 17:54:04 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:59063 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726291AbeJHVyE (ORCPT ); Mon, 8 Oct 2018 17:54:04 -0400 Received: from DGGEMS405-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id DF639602BDA72; Mon, 8 Oct 2018 22:41:56 +0800 (CST) Received: from [10.151.23.176] (10.151.23.176) by smtp.huawei.com (10.3.19.205) with Microsoft SMTP Server (TLS) id 14.3.399.0; Mon, 8 Oct 2018 22:41:55 +0800 Subject: Re: [PATCH v2] staging: erofs: add SPDX identifer From: Gao Xiang To: Greg Kroah-Hartman CC: , , "Loic Tourlonias" , References: <20181008141409.2624-1-loic.tourlonias.lkml@gmail.com> <20181008142228.GB13359@kroah.com> Message-ID: <3dedd0e3-f5eb-8131-a1e9-f04624381cd8@huawei.com> Date: Mon, 8 Oct 2018 22:41:53 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.151.23.176] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018/10/8 22:36, Gao Xiang wrote: > Hi Greg, > > On 2018/10/8 22:22, Greg Kroah-Hartman wrote: >> Why delete that line? >> >> But wait, why do we even have this file at all? What's wrong with the >> lib/lz4/ code that we have in the kernel today? Shouldn't the code >> using these files be moved over to use the lib/ code instead and this >> file be deleted? > > EROFS uses customized LZ4 decompression code for now (which has been offically > supported in lz4 1.8.3, I have updated it in > https://ozlabs.org/~akpm/mmots/broken-out/lib-lz4-update-lz4-decompressor-module.patch > if it is shown up in Linux 4.20, I will remove all the customized LZ4 decompression code), > but lib/ code lz4def.h isn't export to include/. Please refer to https://github.com/lz4/lz4/issues/566 for more details the reason why EROFS uses the different implementation rather than the current lib/lz4/ code in the kernel today (it will be changed in the next Linux version if the updated code works fine.) Thanks, Gao Xiang > > Thanks, > Gao Xiang > >> >> thanks, >> >> greg k-h