Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 81FB7C433EF for ; Mon, 13 Dec 2021 16:16:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240564AbhLMQQq (ORCPT ); Mon, 13 Dec 2021 11:16:46 -0500 Received: from eu-smtp-delivery-151.mimecast.com ([185.58.86.151]:21072 "EHLO eu-smtp-delivery-151.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235246AbhLMQQo (ORCPT ); Mon, 13 Dec 2021 11:16:44 -0500 Received: from AcuMS.aculab.com (156.67.243.121 [156.67.243.121]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id uk-mta-163-nUUY3YRSPUWzZvTEm3zptA-1; Mon, 13 Dec 2021 16:16:42 +0000 X-MC-Unique: nUUY3YRSPUWzZvTEm3zptA-1 Received: from AcuMS.Aculab.com (fd9f:af1c:a25b:0:994c:f5c2:35d6:9b65) by AcuMS.aculab.com (fd9f:af1c:a25b:0:994c:f5c2:35d6:9b65) with Microsoft SMTP Server (TLS) id 15.0.1497.26; Mon, 13 Dec 2021 16:16:41 +0000 Received: from AcuMS.Aculab.com ([fe80::994c:f5c2:35d6:9b65]) by AcuMS.aculab.com ([fe80::994c:f5c2:35d6:9b65%12]) with mapi id 15.00.1497.026; Mon, 13 Dec 2021 16:16:41 +0000 From: David Laight To: 'Eric Dumazet' CC: Dave Hansen , Noah Goldstein , "tglx@linutronix.de" , "mingo@redhat.com" , Borislav Petkov , "dave.hansen@linux.intel.com" , X86 ML , "hpa@zytor.com" , "peterz@infradead.org" , "alexanderduyck@fb.com" , open list , netdev Subject: RE: [PATCH] x86/lib: Remove the special case for odd-aligned buffers in csum_partial.c Thread-Topic: [PATCH] x86/lib: Remove the special case for odd-aligned buffers in csum_partial.c Thread-Index: AdfwL8CqMU0zbyVyQYmiKOZRxmZfsgAAq7MAAADny8AAAPppAAAAro+Q Date: Mon, 13 Dec 2021 16:16:41 +0000 Message-ID: <7c0685cf9148439997eb2bd6edbfdf27@AcuMS.aculab.com> References: <45d12aa0c95049a392d52ff239d42d83@AcuMS.aculab.com> <52edd5fd-daa0-729b-4646-43450552d2ab@intel.com> <96b6a476c4154da3bd04996139cd8a6d@AcuMS.aculab.com> In-Reply-To: Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.202.205.107] MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=C51A453 smtp.mailfrom=david.laight@aculab.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: aculab.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogRXJpYyBEdW1hemV0DQo+IFNlbnQ6IDEzIERlY2VtYmVyIDIwMjEgMTU6NTYNCj4gDQo+ IE9uIE1vbiwgRGVjIDEzLCAyMDIxIGF0IDc6MzcgQU0gRGF2aWQgTGFpZ2h0IDxEYXZpZC5MYWln aHRAYWN1bGFiLmNvbT4gd3JvdGU6DQo+ID4NCj4gPiBGcm9tOiBEYXZlIEhhbnNlbg0KPiA+ID4g U2VudDogMTMgRGVjZW1iZXIgMjAyMSAxNTowMg0KPiA+IC5jDQo+ID4gPg0KPiA+ID4gT24gMTIv MTMvMjEgNjo0MyBBTSwgRGF2aWQgTGFpZ2h0IHdyb3RlOg0KPiA+ID4gPiBUaGVyZSBpcyBubyBu ZWVkIHRvIHNwZWNpYWwgY2FzZSB0aGUgdmVyeSB1bnVzdWFsIG9kZC1hbGlnbmVkIGJ1ZmZlcnMu DQo+ID4gPiA+IFRoZXkgYXJlI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