Received: by 2002:a17:90a:1609:0:0:0:0 with SMTP id n9csp2253255pja; Thu, 26 Mar 2020 12:05:52 -0700 (PDT) X-Google-Smtp-Source: ADFU+vumJxj8/buKvkpVfKpEr2X9zUfpbhFZr++s7L4eElchlO3zZWgP3vZjePgvAlSAU4WjnJh6 X-Received: by 2002:aca:5508:: with SMTP id j8mr1346546oib.71.1585249552017; Thu, 26 Mar 2020 12:05:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1585249552; cv=pass; d=google.com; s=arc-20160816; b=fDT/EhV88YdFfEUswTvWmPMI2FQ/dXhu6PHewZySYsf+5fFLUo18vaeV+NRtlH7VVM gNL8YqvAhVpGh74WmTHlEvsPDR5sEcR4ZYv+ObUv347rfRXpY/SW2Da3S0pMgI8C5Ntu /9Nm58q2bbYCvouEW5ePGEz9VxRsznAwxlrkdkSkMNGeVegGwuldywID2oMFWNgqbwGt wnO37E9svkU70j5d38ZPJZA2cfy6UV4reQUJkzLOCDgR9+RuvtTXrT3Vz1pUuW6Lsg9R jvQo3ONYT+kPzfSAG2ePnxhWZlGyKSAURbRE6azIW7GScDxxWdmdC/BFhYd60eV8EFF4 yeHA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature:dkim-signature; bh=fTgITLvZTBoYemsG7+Me3v7p1AJ7bXuNQFeAH9vvroU=; b=Dr5GogqfmWXbrb6zBYf3sgIig/mapwk64NkTiRGbkJhpJi9uDDfPhZW16dw5IBmpPr j6z7tV8hekZG3NJlpmAVzqDuNUC4M9eGdmBElSTqRhtim9lwhdvNuyXd6WimBvKo+SRN pXjR3QQH5XMepBCnzc7Xnmj87RgFgyeuFHlmxXaCn91Y2VkNz8ux4ySJ8f2fpA0/dbmd VPw1Fi7Fn0YcopGF5an47bYJFTc2yh9aTCkjijxcaR8BCIGMALtg+DFiR9BgvwRptny5 RlX4nVirBLVsfm0STgFaqOeRrBtnL2TpMuYzStLh8TytAaYk9k90+P3P7TJHNNVHN7uS 8o0A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@fb.com header.s=facebook header.b=nCDGqnin; dkim=pass header.i=@fb.onmicrosoft.com header.s=selector2-fb-onmicrosoft-com header.b="Qm/HpHeW"; arc=pass (i=1 spf=pass spfdomain=fb.com dkim=pass dkdomain=fb.com dmarc=pass fromdomain=fb.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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fb.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d21si1324744oof.2.2020.03.26.12.05.33; Thu, 26 Mar 2020 12:05:51 -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; dkim=pass header.i=@fb.com header.s=facebook header.b=nCDGqnin; dkim=pass header.i=@fb.onmicrosoft.com header.s=selector2-fb-onmicrosoft-com header.b="Qm/HpHeW"; arc=pass (i=1 spf=pass spfdomain=fb.com dkim=pass dkdomain=fb.com dmarc=pass fromdomain=fb.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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fb.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728528AbgCZTEK (ORCPT + 99 others); Thu, 26 Mar 2020 15:04:10 -0400 Received: from mx0a-00082601.pphosted.com ([67.231.145.42]:35408 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726340AbgCZTEK (ORCPT ); Thu, 26 Mar 2020 15:04:10 -0400 Received: from pps.filterd (m0109333.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 02QIxSk9007134; Thu, 26 Mar 2020 12:03:57 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=facebook; bh=fTgITLvZTBoYemsG7+Me3v7p1AJ7bXuNQFeAH9vvroU=; b=nCDGqninh+xNJWSgH/jW0kV3CCo9qZr3nEfllZ9Nh1aBSXyyY2UqYfEZN+g2CB7WQHIx 9edA2ul85ZVf4kjKUUKTkBlFn1EsM65UwLQPjEzNPez85C+V5uMfzOSGjmh39HdF+yBB wua8zz6VuVtRqWBgdDyy2/mlGW1lqtVJNl4= Received: from mail.thefacebook.com ([163.114.132.120]) by mx0a-00082601.pphosted.com with ESMTP id 300td72kn0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Thu, 26 Mar 2020 12:03:57 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (100.104.98.9) by o365-in.thefacebook.com (100.104.94.198) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1847.3; Thu, 26 Mar 2020 12:03:56 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LCxwKaLYKTYiZ5ddE8AAuO1U+QZsJTBUCy7aNYQtPx06x9LgfkaMmgStSV93+WfUdznETHxCwqfazQdjQlwH7sJI0r32gUaq4TFX7Zoz2WvfJcSnB9orFeyGpkcLmnVxVJ6e4sAMq4JrRTTUWGtYVcKna+yRiHkzganQvKHGX7pRuADK7SvX9IE99uI7uwnbbGhN/vyP2mnWkJzzNpL8eeachNNd/y63R6FBdwYO0T/kVV4t7xk9J0/lzisa5VF2xXE1nxaZVtpZjzUShB6jtFT5uja/Tq+l6MkmMIW1R236GciqrbSASjRFZXDaWvjTL4T1/KKdTqT5GTXogogUaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=fTgITLvZTBoYemsG7+Me3v7p1AJ7bXuNQFeAH9vvroU=; b=n8cXBhwxUnrjKYMs39bdl8ewpK3QkDT7F3TiIn/nCzOoJ1K8OJZm4c1uitWLqsXEqmB23Ww6qWEpEPpsXv3htbZlROjN4vuxwjnxYRqjoHp0pOqTmLFSNTvfc/mn8ygEo6db8yEJ0r6N4prPdFffQqEmEXT1dauUL8oWG0JzJI0gTmFY1d80ZfPaFc8ow/46PZNEvIO4NvXgK1QVAgIOpga9nOeaHtYPzC2/2504XIHpDBzRIMYvro+Ykhx2Evc6/47LZl3pY0v7jOMU3nO9wnEL204CC4vM31nCDAU6sF4ixBBtn1U2yMtuyF+1fglBi6gUumrgqMxBxdO146D7Uw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=fb.com; dmarc=pass action=none header.from=fb.com; dkim=pass header.d=fb.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.onmicrosoft.com; s=selector2-fb-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=fTgITLvZTBoYemsG7+Me3v7p1AJ7bXuNQFeAH9vvroU=; b=Qm/HpHeWXCfKrWgWk/QwwlOM2btjJW/iaxrUa7yOEF+psP5WltQ+Z7z3p4R2nXjI0ZFYb3fQjANLxLatdo0419JaGgWVR2zWy/P3gdBPTFFcBoKxw1k1gpcKrLVjaAWhYGi26SDCJJcIBLvC9+uATmj5/PrzgVxr7NQjRMy/hRM= Received: from MW3PR15MB3753.namprd15.prod.outlook.com (2603:10b6:303:50::17) by MW3PR15MB3868.namprd15.prod.outlook.com (2603:10b6:303:40::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2856.19; Thu, 26 Mar 2020 19:03:55 +0000 Received: from MW3PR15MB3753.namprd15.prod.outlook.com ([fe80::3517:e69:6e78:4f7c]) by MW3PR15MB3753.namprd15.prod.outlook.com ([fe80::3517:e69:6e78:4f7c%7]) with mapi id 15.20.2856.019; Thu, 26 Mar 2020 19:03:54 +0000 From: Nick Terrell To: Petr Malat CC: Nick Terrell , "linux-kernel@vger.kernel.org" , Chris Mason , "linux-kbuild@vger.kernel.org" , "x86@kernel.org" , "gregkh@linuxfoundation.org" , Kees Cook , Kernel Team , Adam Borowski , Patrick Williams , Michael van der Westhuizen , "mingo@kernel.org" , Patrick Williams Subject: Re: [PATCH v3 3/8] lib: add zstd support to decompress Thread-Topic: [PATCH v3 3/8] lib: add zstd support to decompress Thread-Index: AQHWAt/m23+sZPjy5kGvzHRfaAnHI6hbFrwAgAAmGgA= Date: Thu, 26 Mar 2020 19:03:54 +0000 Message-ID: <611A224B-1CB3-4283-9783-87C184C8983A@fb.com> References: <20200325195849.407900-1-nickrterrell@gmail.com> <20200325195849.407900-4-nickrterrell@gmail.com> <20200326164732.GA17157@ntb.petris.klfree.czf> In-Reply-To: <20200326164732.GA17157@ntb.petris.klfree.czf> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [67.188.225.242] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 9111a387-4f1f-494c-33de-08d7d1b86e3d x-ms-traffictypediagnostic: MW3PR15MB3868: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-fb-source: Internal x-ms-oob-tlc-oobclassifiers: OLM:6430; x-forefront-prvs: 0354B4BED2 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(376002)(346002)(136003)(366004)(396003)(39860400002)(6486002)(186003)(2616005)(316002)(8676002)(36756003)(26005)(5660300002)(6916009)(54906003)(66946007)(66446008)(66556008)(4326008)(478600001)(8936002)(64756008)(66476007)(6506007)(6512007)(53546011)(33656002)(81156014)(81166006)(86362001)(71200400001)(76116006)(2906002)(966005)(7416002)(91956017)(343044003);DIR:OUT;SFP:1102;SCL:1;SRVR:MW3PR15MB3868;H:MW3PR15MB3753.namprd15.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords; received-spf: None (protection.outlook.com: fb.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: du1w0pmHUVD7Q7wFudnKiT61KN3JcOS0Vq29wtfYVSsSeR7jnS+7nSdi2OxLIBkfQAKZ4ExYffS09X6H+H01Yrp3i7ttIGeqvFgKq8sbuG9VFY6kCgSP0NiLaqfevppzkmgqRVZDoQHghkeBsCdycOb1+WJUPZBjByZD1Sn5g2B6coRrtKzWMC3+C5N3qBy5Avzb0mHeG1diX1PaKdubieaFrqzVrTUM483ix+LfFuIgfeiS+BpkVcL+J3kMUNczIfJE7eFxMpX8UGvOobf1bB6vmw8OwUmUdAXTEtIQEGRk+lPGRGZAntpcq1nem8T72opFxmoY3PFDWpogQIMns7z/7U02sSAKCtq+mX00vl3610r7+jqr2rn9mCbL2HKzEh6AVMLy4WWVggFwBf+57Gtuv0dAFnVTAsk0/cXFIwforRfm6GhcDeJT/pHuE2wKts4TF+8j9syVkaiLNqNKKMr4J+g6G3jm9sbHcA6LILOWgZKpmUB9ErR7rBkjKRdcUX8YwPFkoHR2JuNpD/vmT46q2S7c1BDqZpSiqgh2zrkXvOKh8Fiud910tSnVNebtT4ltM05luLGZiYwOfUnoBw== x-ms-exchange-antispam-messagedata: ij4BOZ8JsNnzz1LK8dnMQtqSWUmqz9T3Mb9KlV9Ziawf9V7OhfTXAwCCeVk1XsluT/s9Ucyam/EVUK9RlbNEP7oRI6YjlF5/qn5XOJ2FitHNitOq2O8MmJdS0+mz9LYvQurtsUevmpUfZFv9/cWOZw== Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 9111a387-4f1f-494c-33de-08d7d1b86e3d X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Mar 2020 19:03:54.8065 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 8ae927fe-1255-47a7-a2af-5f3a069daaa2 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Dz0+OltmX02JHWdGeCgc8Fa7WGPOLp7or/qHmmFgHAMwleLtPVDkLXe3frA10tHX X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW3PR15MB3868 X-OriginatorOrg: fb.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138,18.0.645 definitions=2020-03-26_11:2020-03-26,2020-03-26 signatures=0 X-Proofpoint-Spam-Details: rule=fb_default_notspam policy=fb_default score=0 mlxlogscore=787 mlxscore=0 lowpriorityscore=0 suspectscore=0 phishscore=0 bulkscore=0 malwarescore=0 impostorscore=0 clxscore=1015 priorityscore=1501 spamscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2003260142 X-FB-Internal: deliver Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PiBPbiBNYXIgMjYsIDIwMjAsIGF0IDk6NDcgQU0sIFBldHIgTWFsYXQgPG9zc0BtYWxhdC5iaXo+ IHdyb3RlOg0KPiANCj4gSGkhDQo+IE9uIFdlZCwgTWFyIDI1LCAyMDIwIGF0IDEyOjU4OjQ0UE0g LTA3MDAsIE5pY2sgVGVycmVsbCB3cm90ZToNCj4+IEZyb206IE5pY2sgVGVycmVsbCA8dGVycmVs bG5AZmIuY29tPg0KPj4gKiBBZGQgdW56c3RkKCkgYW5kIH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