From: Mathieu Desnoyers Date: Thu, 7 Mar 2024 22:01:53 +0000 (-0500) Subject: percpu alloc: Remove RSEQ_POOL_ROBUST attribute X-Git-Url: http://git.efficios.com/?a=commitdiff_plain;h=8416fc750950f16f86621e480f49f6051c15f89f;p=librseq.git percpu alloc: Remove RSEQ_POOL_ROBUST attribute Signed-off-by: Mathieu Desnoyers Change-Id: If90ce5767d0d2516674efda08fb0d694b4f8d1a2 --- diff --git a/include/rseq/percpu-alloc.h b/include/rseq/percpu-alloc.h index d3b1149..54580a7 100644 --- a/include/rseq/percpu-alloc.h +++ b/include/rseq/percpu-alloc.h @@ -43,21 +43,6 @@ extern "C" { struct rseq_pool_attr; struct rseq_percpu_pool; -/* - * Create a robust pool. This enables the following runtime checks: - * - * - Check for double free of pointers. - * - * - Check that all items were freed when destroying the pool, i.e. no memory - * leak. - * - * There is a marginal runtime overhead on malloc/free operations. - * - * The memory overhead is (pool->percpu_len / pool->item_len) / CHAR_BIT - * bytes, over the lifetime of the pool. - */ -#define RSEQ_POOL_ROBUST (1 << 0) - /* * rseq_percpu_pool_create: Create a per-cpu memory pool. *