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 778A7A00C3; Tue, 20 Sep 2022 13:31:22 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6755340DFB; Tue, 20 Sep 2022 13:31:22 +0200 (CEST) Received: from mail-lj1-f178.google.com (mail-lj1-f178.google.com [209.85.208.178]) by mails.dpdk.org (Postfix) with ESMTP id A65944069B for ; Tue, 20 Sep 2022 13:31:21 +0200 (CEST) Received: by mail-lj1-f178.google.com with SMTP id p5so2561949ljc.13 for ; Tue, 20 Sep 2022 04:31:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date; bh=o3HOYqict+735ZKnK+qVhzJhhBMiCTCxjLx+Qv8q1HA=; b=Ezu5GLX6URbAr1XMRikPxuZspUh/TCdtnl/VXrROzidROJq2HocmqURygNoEgD7eln 4TbZ2JHiJeFsEWf7DF4+5yHNXiyvV9VK+OSSyiJRf2GX+4GPqvk9Z1qwh1tKwM0rgdbK G3Ot5OD/h01hk7CQpkD6SgC+4cIQZm4Q+WgryPyEb355FPqIrALtSVoJTgoixKCgTeZx LNKzZlfaxMjigLiLvr7slDC/1PJv+TIPtTDxCUbeb7Jad7BInolwDW9RYWM30bDP2lfK /bb7eikxt+grxPpWAciTq6bU7omNO6eUqOU5EPgvbagScDcKEuMH1IXFwsx6oTIw2/sd l7Ew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date; bh=o3HOYqict+735ZKnK+qVhzJhhBMiCTCxjLx+Qv8q1HA=; b=TCLK0irTZSxPN4faAxsiWbQmDpqdG/4Tdf2wjtIcQoWpMsgXC+kWHLq6y3wVBG5Svl FJ7HV8ZvQ30VL/URDt1Ywg4AtIO2wKNvSNEp3Bu9K9/7QL6PY8kMJ28Re4/eWmeHI9qc cs1DiDlbvq3mUOibxipLNSl4l9Ptr+TolGV70zZbZ5LgYMk0a3rqsL7cdh/bnvRpIVpb HgraGPO5VC3AHYPW5ykzGgPGWnQGOgElv/2soHYcsKERCQSEFvX1pxgznMx0Afjf8uwt 9K0k8GeARpgRYsF1KnoWT8K+g/Sgw270VWjD0IbhRdBNLbOQ1iGg04D/3x0ge/nXR+bY 0C6A== X-Gm-Message-State: ACrzQf0vvqNT6u0LbJCJpKQFXkc0F6I478TNwmG74wloALzW+xlF4aB1 mamdm5j1SAxBzvScxKuFBmc= X-Google-Smtp-Source: AMsMyM5LiNIZlSvyv89Gf+wjDSv9vpxe3BbuXsPksqViX8/ab9UgbcP87Ja8FfNRc2OA/nqHtUvYTw== X-Received: by 2002:a2e:a887:0:b0:25e:3174:fb67 with SMTP id m7-20020a2ea887000000b0025e3174fb67mr6463076ljq.337.1663673481206; Tue, 20 Sep 2022 04:31:21 -0700 (PDT) Received: from sovereign (broadband-37-110-65-23.ip.moscow.rt.ru. [37.110.65.23]) by smtp.gmail.com with ESMTPSA id g15-20020a2e390f000000b0026c59d3f557sm224378lja.33.2022.09.20.04.31.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Sep 2022 04:31:20 -0700 (PDT) Date: Tue, 20 Sep 2022 14:31:19 +0300 From: Dmitry Kozlyuk To: Chengwen Feng Cc: , , , Subject: Re: [PATCH 1/8] memarea: introduce memory area library Message-ID: <20220920143119.1e2e0a3e@sovereign> In-Reply-To: <20220920143013.7624f36d@sovereign> References: <20220721044648.6817-1-fengchengwen@huawei.com> <20220920034643.55476-1-fengchengwen@huawei.com> <20220920034643.55476-2-fengchengwen@huawei.com> <20220920143013.7624f36d@sovereign> X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 2022-09-20 14:30 (UTC+0300), Dmitry Kozlyuk: > 2022-09-20 03:46 (UTC+0000), Chengwen Feng: > > The memarea library is an allocator of variable-size object. It is a > > collection of allocated objects that can be efficiently alloc or free > > all at once, the main features are as follows: > > a) it facilitate alloc and free of memory with low overhead. > > Yet, the overhead is 64B per element, just like rte_malloc. Disregard this one, rte_malloc overhead is 128B (2 cache lines).