From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id AE48E43DDA; Sun, 7 Apr 2024 00:30:46 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 79FAE4029A; Sun, 7 Apr 2024 00:30:46 +0200 (CEST) Received: from dkmailrelay1.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id 93D1840299 for ; Sun, 7 Apr 2024 00:30:45 +0200 (CEST) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesys.local [192.168.4.10]) by dkmailrelay1.smartsharesystems.com (Postfix) with ESMTP id 6F9C220CEE; Sun, 7 Apr 2024 00:30:45 +0200 (CEST) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 Subject: RE: [PATCH 3/4] vhost: use alloca instead of vla sizeof Date: Sun, 7 Apr 2024 00:30:42 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35E9F377@smartserver.smartshare.dk> In-Reply-To: <1712250913-1977-4-git-send-email-roretzla@linux.microsoft.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH 3/4] vhost: use alloca instead of vla sizeof Thread-Index: AdqGs6lVul6tTmqeQuKiOt5xI8VkBgBvSaHw References: <20231107193220.GA15232@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> <1712250913-1977-1-git-send-email-roretzla@linux.microsoft.com> <1712250913-1977-4-git-send-email-roretzla@linux.microsoft.com> From: =?UTF-8?B?TW9ydGVuIEJyw7hydXA=?= To: "Tyler Retzlaff" , Cc: "Bruce Richardson" , "Stephen Hemminger" , "Thomas Monjalon" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org PiBGcm9tOiBUeWxlciBSZXR6bGFmZiBbbWFpbHRvOnJvcmV0emxhQGxpbnV4Lm1pY3Jvc29mdC5j b21dDQo+IFNlbnQ6IFRodXJzZGF5LCA0IEFwcmlsIDIwMjQgMTkuMTUNCj4gDQo+IFJGQyBzYW1w bGUgaWxsdXN0cmF0aW5nIGNvbnZlcnNpb24gb2YgVkxBIHRvIGFsbG9jYSgpIHdoZXJlDQo+IHNp emVvZihhcnJheSkgd2FzIGluIHVzZS4NCj4gDQo+IFNpZ25lZC1vZmYtYnk6IFR5bGVyIFJldHps YWZmIDxyb3JldHpsYUBsaW51eC5taWNyb3NvZnQuY29tPg0KPiAtLS0NCj4gIGxpYi92aG9zdC9z b2NrZXQuYyB8IDUgKysrLS0NCj4gIDEgZmlsZSBjaGFuZ2VkLCAzIGluc2VydGlvbnMoKyksIDIg ZGVsZXRpb25zKC0pDQo+IA0KPiBkaWZmIC0tZ2l0IGEvbGliL3Zob3N0L3NvY2tldC5jIGIvbGli L3Zob3N0L3NvY2tldC5jDQo+IGluZGV4IDk2YjNhYjUuLmNlZGNmYjIgMTAwNjQ0DQo+IC0tLSBh L2xpYi92aG9zdC9zb2NrZXQuYw0KPiArKysgYi9saWIvdmhvc3Qvc29ja2V0LmMNCj4gQEAgLTEx MCw3ICsxMTAsOCBAQCBzdHJ1Y3Qgdmhvc3RfdXNlciB7DQo+ICB7DQo+ICAJc3RydWN0IGlvdmVj IGlvdjsNCj4gIAlzdHJ1Y3QgbXNnaGRyIG1zZ2g7DQo+IC0JY2hhciBjb250cm9sW0NNU0dfU1BB Q0UobWF4X2ZkcyAqIHNpemVvZihpbnQpKV07DQo+ICsJY29uc3Qgc2l6ZV90IGNvbnRyb2xfc3og PSBzaXplb2YoY2hhcikgKiBDTVNHX1NQQUNFKG1heF9mZHMgKg0KPiBzaXplb2YoaW50K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