Re: [PATCH v8 7/9] memarea: support backup memory mechanism

2022-10-12 Thread fengchengwen
Hi Mattias, On 2022/10/12 4:26, Mattias Rönnblom wrote: > On 2022-10-11 17:58, Dmitry Kozlyuk wrote: >> 2022-10-11 12:17 (UTC+), Chengwen Feng: >>> This patch adds a memarea backup mechanism, where an allocation request >>> which cannot be met by the current memarea is deferred to its backup >

Re: [PATCH v8 7/9] memarea: support backup memory mechanism

2022-10-12 Thread fengchengwen
Hi Dmitry, On 2022/10/11 23:58, Dmitry Kozlyuk wrote: > 2022-10-11 12:17 (UTC+), Chengwen Feng: >> This patch adds a memarea backup mechanism, where an allocation request >> which cannot be met by the current memarea is deferred to its backup >> memarea. > > This is a controversial feature. >

Re: [PATCH v8 7/9] memarea: support backup memory mechanism

2022-10-11 Thread Mattias Rönnblom
On 2022-10-11 17:58, Dmitry Kozlyuk wrote: 2022-10-11 12:17 (UTC+), Chengwen Feng: This patch adds a memarea backup mechanism, where an allocation request which cannot be met by the current memarea is deferred to its backup memarea. This is a controversial feature. 1. It violates memarea

Re: [PATCH v8 7/9] memarea: support backup memory mechanism

2022-10-11 Thread Dmitry Kozlyuk
2022-10-11 12:17 (UTC+), Chengwen Feng: > This patch adds a memarea backup mechanism, where an allocation request > which cannot be met by the current memarea is deferred to its backup > memarea. This is a controversial feature. 1. It violates memarea property of freeing all allocated objects

[PATCH v8 7/9] memarea: support backup memory mechanism

2022-10-11 Thread Chengwen Feng
This patch adds a memarea backup mechanism, where an allocation request which cannot be met by the current memarea is deferred to its backup memarea. Signed-off-by: Chengwen Feng --- doc/guides/prog_guide/memarea_lib.rst | 4 ++ lib/memarea/memarea_private.h | 3 ++ lib/memarea/rte_mem