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 B30A9C433F5 for ; Tue, 14 Dec 2021 12:36:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234002AbhLNMgN (ORCPT ); Tue, 14 Dec 2021 07:36:13 -0500 Received: from eu-smtp-delivery-151.mimecast.com ([185.58.85.151]:40995 "EHLO eu-smtp-delivery-151.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229879AbhLNMgL (ORCPT ); Tue, 14 Dec 2021 07:36:11 -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-126-ciDdlnKxPsGDPzgly2ZQ2g-1; Tue, 14 Dec 2021 12:36:08 +0000 X-MC-Unique: ciDdlnKxPsGDPzgly2ZQ2g-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; Tue, 14 Dec 2021 12:36:07 +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; Tue, 14 Dec 2021 12:36:07 +0000 From: David Laight To: David Laight , 'Noah Goldstein' , 'Eric Dumazet' CC: "'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] lib/x86: Optimise csum_partial of buffers that are not multiples of 8 bytes. Thread-Topic: [PATCH] lib/x86: Optimise csum_partial of buffers that are not multiples of 8 bytes. Thread-Index: AdfwSx7jhGb9mOkwS12sTJ1p5oR1JQAmTp2g Date: Tue, 14 Dec 2021 12:36:07 +0000 Message-ID: <3107b1e365f34df080feefb68be8a422@AcuMS.aculab.com> References: 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 RnJvbTogRGF2aWQgTGFpZ2h0IDxEYXZpZC5MYWlnaHRAQUNVTEFCLkNPTT4NCj4gU2VudDogMTMg RGVjZW1iZXIgMjAyMSAxODowMQ0KPiANCj4gQWRkIGluIHRoZSB0cmFpbGluZyBieXRlcyBmaXJz dCBzbyB0aGF0IHRoZXJlIGlzIG5vIG5lZWQgdG8gd29ycnkNCj4gYWJvdXQgdGhlIHN1bSBleGNl ZWRpbmcgNjQgYml0cy4NCg0KVGhpcyBpcyBhbiBhbHRlcm5hdGUgdmVyc2lvbiB0aGF0IChtb3N0 bHkpIGNvbXBpbGVzIHRvIHJlYXNvbmFibGUgY29kZS4NCkkndmUgYWxzbyBib290ZWQgYSBrZXJu ZWwgd2l0aCBpdCAtIG5ldHdvcmtpbmcgc3RpbGwgd29ya3MhDQoNCmh0dHBzOi8vZ29kYm9sdC5v cmcvei9LNnZZMzFHcXMNCg0KSSBjaGFuZ2VkIHRoZSB3aGlsZSAobGVuID49IDY0KSBsb29wIGlu dG8gYW4NCmlmIChsZW4gPj0gNjQpIGRvICguLi4pIHdoaWxlKGxlbiA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