From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 615DDA034E; Wed, 6 May 2020 23:43:11 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 799C71DB20; Wed, 6 May 2020 23:43:10 +0200 (CEST) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id 3B1CE1DAB9 for ; Wed, 6 May 2020 23:43:09 +0200 (CEST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 7FA315C00D0; Wed, 6 May 2020 17:43:08 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Wed, 06 May 2020 17:43:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm1; bh= x8UDKAk38ky8c4RlqGzH40KbFdwezA0rF8pGMdgyEzs=; b=inPmhaUSmDqthI+K cGxWBBtKQLZaaM8Izdo0sgJfcJnwKJ05FFupfswVzSu46XdOxl/oq7Zx9+7T3JXr jvE4ctuKSwyA+CFjv4yL6Ug6UrFGSUWNEz+dUgY2EbiILrgzRvuvgvC5SKqURMih btxl6RP0rEHcS9P0BBPEwSFygj9Dttb6R+f6u87qqSwr6AbFAQ8WTFRVAncynJJH 2EtjfVQZB4c2jzcW5xgFCDmD1coS7QA7pBS6Erzlyp7cm+wpfpLZkpZQUN9E6c6c NehiDfMmHEyYOW8OBxwl5VK1FR9GYgVBaGxUSD5WlMH5+/OyheXBeUwEX0FmWghj 8uMIHg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=x8UDKAk38ky8c4RlqGzH40KbFdwezA0rF8pGMdgyE zs=; b=bgKI17jq+Bej658Gq0KB4FXkXyQJ9Y8+188eIIoDoVSq2mpC38G1h80mx PRlNIs0ZQFUDVwixBWGyyjRdhrlv8N0NNHMSQvOOc+9ZS4a1vDVCORy37MgwzS7x K3c65E5mZ3rJyju/6BrbEeM0evAMwdkpiAuA7i0ax6f7bTh6Z2Effj4a04P0oAYg rwUaIKsu81I8A5tnXnW4GCI+MfKy9ghKJD4vfxz5oNKw397aoUcQqMBYcgDaJaPb IAwrJKNbQQ492aDG1Zurpp9H/Lzap5867xGVJgaRh7rOXIiYHuCtG7qdNV9A4raF 2EQHX20UzLDvP9f+JuMVjjTEeT+Tg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrjeelucetufdoteggodetrfdotffvucfrrh hofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgenuceurghi lhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurh ephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgrshcuofho nhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecuggftrfgrth htvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeuieeivdff geehnecukfhppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhn vght X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 70E013066123; Wed, 6 May 2020 17:43:07 -0400 (EDT) From: Thomas Monjalon To: Bing Zhao Cc: "Burakov, Anatoly" , "dev@dpdk.org" , david.marchand@redhat.com Date: Wed, 06 May 2020 23:43:05 +0200 Message-ID: <4889756.6fTUFtlzNn@thomas> In-Reply-To: References: <1586256364-185699-1-git-send-email-bingz@mellanox.com> <88ce7ff0-27f7-9cf0-13bf-b66795bd64cd@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH] mem: fix the alloc size roundup overflow 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 21/04/2020 05:18, Bing Zhao: > From: Burakov, Anatoly > > Can we add a unit test for this in malloc_autotest? > > > > Otherwise, > > > > Acked-by: Anatoly Burakov > > Thanks, Burakov. I can try to add one case in the unit for this. Any update about writing an unit test?