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 1E60742CA8; Tue, 13 Jun 2023 13:05:14 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E2A4240C35; Tue, 13 Jun 2023 13:05:13 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id 9DFD940698 for ; Tue, 13 Jun 2023 13:05:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1686654311; x=1718190311; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=SamfJ2IAxoeoZDqtax+QEMs4xGiYat0HqnTOFaA7JjU=; b=hUEJS3G4l1KgNAgX5rc1cfL5Qm1JQ7uJVSUrxVI1EUoRJ8eskHZDzyE7 2eLjJKXRjC5Qte6XG+9ftX1HtrHYY0uOF7ERYEasIyxwG6oh0/EgoX0M5 td531U4sXDU3x7XeHgc3Afvvo3hq9ooL2PtuhPYe8S0BfYWp6JXdBabJo n+IGDNAi4YHG+DwxfUqDuh/5Kkg8hHqyT9XMBa79SZp8sgzHd1pL8dD/C 3Y8MxFBIGip1qmAHCB84yqRx4ukmP8UFXPfpY7nK7c4k5t7d6ifhefH2S Jogx06grBLoRaFJBjyXSYXONsbSJLJ9aeRFcvqIGoQ2IjetZzoEBWAr+Q w==; X-IronPort-AV: E=McAfee;i="6600,9927,10739"; a="357176957" X-IronPort-AV: E=Sophos;i="6.00,239,1681196400"; d="scan'208";a="357176957" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Jun 2023 04:05:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10739"; a="714761406" X-IronPort-AV: E=Sophos;i="6.00,239,1681196400"; d="scan'208";a="714761406" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga007.fm.intel.com with ESMTP; 13 Jun 2023 04:05:06 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Tue, 13 Jun 2023 04:05:05 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Tue, 13 Jun 2023 04:05:05 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23 via Frontend Transport; Tue, 13 Jun 2023 04:05:05 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.169) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.23; Tue, 13 Jun 2023 04:05:05 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GD49Jh4JgjR+q8Ke9pnZtL6npvceRz/Vi3gyTJJKU9+K/zHZd0EvHTsUltuPqB25a1N7u4en5Ecpcy96e8sRWg4A+XtyzCDO0e5GA+ZzXz6vVw5rl1DOUO/5r/JbnLc997/hfHpNRDTGHPa4+9/HZZfVGaI0+oC97ZXj+sjcu2PAgP685XRcx1KS29EBZmDJqvSRW5BEB5oHk8PbAQQX82vN1yLHxs/Hrfjb1HT3AxuPk/E0/yikqPbNwt/smt4U2EHVsdX0f6OVsbIooPG9GH6Ftfi42ma9N8ysI/fD8pyShFkSoM2qmOobl1CCUWiyx6ylg01sYjSWtZ5HbRteiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=moL0WL2AEJlhAJSVJb3Wqc6VB706C0wyf8EKMgODSXA=; b=KsWFSgEgxfIxVy1nrSQ8WE4eMLFgSSSs8dign6pLNONtu3aReM11ZT5shwNyCjoAxFRpYvBRTtCJTYqnfpkBhFur6vzQBRqdkrHD/VpeeczfOSVA/2hERq9qzmjST3QBbFaGpXDbBKgqRFpHNiKm5uEwBVY++/36ZAF08YSJmMsBLSUsyFqo90pcSwg+sEbKCMZe84qhJlmO4Ex127T6Btl2zW/1iTNgM8GOXG5Hgb7Le6EdXEBxls6v3uj02V/vsx4++mtOPvt9vij7aRZZNvPL/fKTYsz+CpKChmsbkobmIAe3BKD5NAeCXSIqfBbTFi0bzgzf6xLgEJD93mW3OQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from DM4PR11MB6502.namprd11.prod.outlook.com (2603:10b6:8:89::7) by CYYPR11MB8386.namprd11.prod.outlook.com (2603:10b6:930:bf::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.32; Tue, 13 Jun 2023 11:05:04 +0000 Received: from DM4PR11MB6502.namprd11.prod.outlook.com ([fe80::49c0:aa4c:e5b4:e718]) by DM4PR11MB6502.namprd11.prod.outlook.com ([fe80::49c0:aa4c:e5b4:e718%7]) with mapi id 15.20.6455.030; Tue, 13 Jun 2023 11:05:03 +0000 Message-ID: Date: Tue, 13 Jun 2023 12:04:57 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0 Thunderbird/102.11.1 Subject: Re: [PATCH v14 0/6] introduce memarea library Content-Language: en-US To: fengchengwen , Ferruh Yigit , , CC: , , , , , References: <20220721044648.6817-1-fengchengwen@huawei.com> <20230209063610.35501-1-fengchengwen@huawei.com> <8137a547-da19-7f10-7bb8-f2deef7fc64c@amd.com> From: "Burakov, Anatoly" In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DB9PR02CA0009.eurprd02.prod.outlook.com (2603:10a6:10:1d9::14) To DM4PR11MB6502.namprd11.prod.outlook.com (2603:10b6:8:89::7) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM4PR11MB6502:EE_|CYYPR11MB8386:EE_ X-MS-Office365-Filtering-Correlation-Id: 42c3ba87-aa95-4083-d666-08db6bfe099e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: sL5mS37yv4AhrCuSmGQ4umrbyqbQ8IUuRmX48o2OjaOEhfg/1LEhaJlukeuZUnu2KmEd/xGqIv0iLzCFCSne1lYckPv7rqWolCjYjsoJolNU64SaPeTzSfH2H6ThytaJ6mYaH6Ru4HWn1mZYcNJCszRZ7irNebd4oqsAUVhpA2q+Lv5FKCajo18uFfqXKwzwXLEobdJZUDh76VU226eNKuo7kv9eGt0VzsWasRuhJEUCCx1vZ50Xx1Nex7Zwm01muPU1bEcmAG82TThADs8cKkWvzPhjPrSwMp4OyuwmHUCqiDtqNIZzFcdBQMRktfM+qkoxGiuC35HClrIQSlz9SORltqSrs1fFt+L5oihXccsEWFYZ1/H31yfHRCuHOzSqexKCaCJuh2stITeS+LQMcxymsB8ybrHdpTH1GhlfThOU9pqExsyicWyR9HPqSlre/bFXzKDVkpobQ4gbyNPXwiA8FEGOv4wVSig3AotO0rmQ/gyGxIg5hcWs+Edl8WxmU0L6tKpjRt5+ovapq84zKahVkJq5epTTdbfCLSRoEFdOMY91BWAA+zfwrVEljqh9VD7s95H3iBw+CbUhDUVYkAhV76rbtiOktEdb3qS4Veo= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR11MB6502.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(39860400002)(136003)(346002)(366004)(376002)(396003)(451199021)(66556008)(66476007)(66946007)(8936002)(8676002)(36756003)(5660300002)(4326008)(478600001)(31686004)(6666004)(110136005)(41300700001)(966005)(6486002)(316002)(38100700002)(82960400001)(186003)(53546011)(6506007)(83380400001)(26005)(6512007)(7416002)(2616005)(2906002)(86362001)(31696002)(43740500002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?RVk2NmNWRjNjYlNoaUlsdzR5ejdFNEtpbVNmbGNSRy9yL3NqRkdlbGwxZGFR?= =?utf-8?B?SURSZXlZWE9xem5obmFoUzNxc0JYMitWcUFuVDc1ek1qQTRZMkZxUDN0OXdC?= =?utf-8?B?bDdtTTJJelJXdTJzMThFZVUraUpwRXN3Nnh3VXVkcGVGM056dDAwRlRoVmtZ?= =?utf-8?B?dGpOVVMvSkRVZDAxdWU1NzFucm9HTW15bFJ3SVRyYU5QWFplR0M5SFN6Q1ps?= =?utf-8?B?dzVBU0FRTVUrdzVUSlJEb0FzNU5yWDNMK1h6UlJZUldkVVBkRWpCMzB3S0Fs?= =?utf-8?B?RVd4NTlVUHNCT0N6NTU4TFRYRWFoNEVKb1dRTWNRNUtLSXRlMGZOY0dQV08x?= =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NoRVIzVGd4Tk91UHpWM0g2a0tONit1aWV1U0RY?= =?utf-8?B?V0E9PQ==?= X-MS-Exchange-CrossTenant-Network-Message-Id: 42c3ba87-aa95-4083-d666-08db6bfe099e X-MS-Exchange-CrossTenant-AuthSource: DM4PR11MB6502.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Jun 2023 11:05:03.3176 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: L7LcGf8P0dzngWS47Mj+uF8XCg7uAdt6828ibijDv6p37VFGlXodZKEjW1aXhoEMwssx+dXmXU7O0Go1ZikO1Han3FbOrImAl/3AWXW8kPo= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CYYPR11MB8386 X-OriginatorOrg: intel.com 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 On 6/13/2023 10:50 AM, fengchengwen wrote: > Hi Ferruh, > > On 2023/6/12 21:53, Ferruh Yigit wrote: >> On 2/9/2023 6:36 AM, Chengwen Feng wrote: >>> The memarea library is an allocator of variable-size object which based >>> on a memory region. The main features are as follows: >>> >>> - The memory region can be initialized from the following memory >>> sources: >>> 1. HEAP: e.g. invoke rte_malloc_socket. >>> 2. LIBC: e.g. invoke posix_memalign. >>> 3. Another memarea: it can be from another memarea. >>> >>> - It supports MT-safe as long as it's specified at creation time. >>> >>> Note: >>> a) The memarea is oriented towards the application layer, which could >>> provides 'region-based memory management' [1] function. >>> b) The eal library also provide memory zone/heap management, but these >>> are tied to huge pages management. >>> >>> [1] https://en.wikipedia.org/wiki/Region-based_memory_management >>> >>> Chengwen Feng (6): >>> memarea: introduce memarea library >>> test/memarea: support memarea test >>> memarea: support alloc and free API >>> test/memarea: support alloc and free API test >>> memarea: support dump API >>> test/memarea: support dump API test >>> >> Hi, From my understanding, this library is not intended to support secondary process use cases? -- Thanks, Anatoly