From patchwork Fri May 19 04:29:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ruifeng Wang X-Patchwork-Id: 127067 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id ECFD642B43; Fri, 19 May 2023 06:30:01 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 85BAA40A82; Fri, 19 May 2023 06:30:01 +0200 (CEST) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mails.dpdk.org (Postfix) with ESMTP id 8D175406B5 for ; Fri, 19 May 2023 06:30:00 +0200 (CEST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id C268A1FB; Thu, 18 May 2023 21:30:44 -0700 (PDT) Received: from net-arm-n1amp-02.shanghai.arm.com (net-arm-n1amp-02.shanghai.arm.com [10.169.210.108]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id CDF713F762; Thu, 18 May 2023 21:29:57 -0700 (PDT) From: Ruifeng Wang To: Cc: dev@dpdk.org, anatoly.burakov@intel.com, honnappa.nagarahalli@arm.com, feifei.wang2@arm.com, nd@arm.com, Ruifeng Wang Subject: [PATCH 0/4] Heap library and test case changes Date: Fri, 19 May 2023 12:29:19 +0800 Message-Id: <20230519042923.314670-1-ruifeng.wang@arm.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 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 This series fixed a heap free list management issue which was captured by unit test failure. It also includes fixes of the unit test. Ruifeng Wang (4): eal: fix list index for 256 byte element eal: simplify check condition test/malloc: fix missing free test/malloc: fix case expectation app/test/test_malloc.c | 21 +++++++++++---------- lib/eal/common/malloc_elem.c | 2 +- lib/eal/common/malloc_heap.c | 2 +- 3 files changed, 13 insertions(+), 12 deletions(-)