From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from rcdn-iport-4.cisco.com (rcdn-iport-4.cisco.com [173.37.86.75]) by dpdk.org (Postfix) with ESMTP id 75B2A2C15 for ; Sat, 8 Dec 2018 00:47:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=2620; q=dns/txt; s=iport; t=1544226469; x=1545436069; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=y1zZ8SAreuZIZ3J3G05/Zqb6WNKVHPrvI5v1KgNZOMU=; b=TqhTPUB/NmdKuf8a3jiWfXchvB8ISpwLjxGliQcTdu7cjBp2H1pDUGT5 F4pBM6XebsQF6d5pQFc12WPPeCrWNpF3LAfl2k73xqVbsLo8021M+sNF4 6b14caaWgP3HT/20NyvQ9XzEGEBx9cAMlbXSaChVMR5QTlStFfZpYOLtI M=; X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0AHAACoBQtc/4oNJK1kGQEBAQEBAQE?= =?us-ascii?q?BAQEBAQcBAQEBAQGBUQQBAQEBAQsBggOBaCcKg3CIGYwRgg2DRY8QhHqBegs?= =?us-ascii?q?BAYRsAheDBCI0CQ0BAwEBAgEBAm0ohTwBAQEEIxFFDAQCAQgRBAEBAQICJgI?= =?us-ascii?q?CAjAVCAgCBA4FCIUbpU6BL4orgQuLFxeBQD+BEYMShEqDO4JXAqBnCQKRQSC?= =?us-ascii?q?ROCyYSAIRFIEnHziBVXAVgyeCJxeOHUExiReBLoEfAQE?= X-IronPort-AV: E=Sophos;i="5.56,327,1539648000"; d="scan'208";a="492873383" Received: from alln-core-5.cisco.com ([173.36.13.138]) by rcdn-iport-4.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Dec 2018 23:47:47 +0000 Received: from XCH-RCD-020.cisco.com (xch-rcd-020.cisco.com [173.37.102.30]) by alln-core-5.cisco.com (8.15.2/8.15.2) with ESMTPS id wB7NlmSW030192 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Fri, 7 Dec 2018 23:47:48 GMT Received: from xch-rcd-016.cisco.com (173.37.102.26) by XCH-RCD-020.cisco.com (173.37.102.30) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 7 Dec 2018 17:47:47 -0600 Received: from xch-rcd-016.cisco.com ([173.37.102.26]) by XCH-RCD-016.cisco.com ([173.37.102.26]) with mapi id 15.00.1395.000; Fri, 7 Dec 2018 17:47:47 -0600 From: "David Harton (dharton)" To: "Wiles, Keith" CC: "dev@dpdk.org" , "Burakov, Anatoly" Thread-Topic: [dpdk-dev] [PATCH] eal: fix rte_zalloc_socket to zero memory Thread-Index: AQHUjnukEW8ADXwEv0qnuiNBN1DLzaV0VFKA//+cAuA= Date: Fri, 7 Dec 2018 23:47:47 +0000 Message-ID: References: <20181207222420.9508-1-dharton@cisco.com> <70BFEBF0-0F44-48CC-979F-F3BB4757068E@intel.com> In-Reply-To: <70BFEBF0-0F44-48CC-979F-F3BB4757068E@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.82.240.104] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Outbound-SMTP-Client: 173.37.102.30, xch-rcd-020.cisco.com X-Outbound-Node: alln-core-5.cisco.com Subject: Re: [dpdk-dev] [PATCH] eal: fix rte_zalloc_socket to zero memory X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Dec 2018 23:47:49 -0000 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogV2lsZXMsIEtlaXRoIDxr ZWl0aC53aWxlc0BpbnRlbC5jb20+DQo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