percpu alloc: Remove RSEQ_POOL_ROBUST attribute
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 7 Mar 2024 22:01:53 +0000 (17:01 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 7 Mar 2024 22:01:53 +0000 (17:01 -0500)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: If90ce5767d0d2516674efda08fb0d694b4f8d1a2

include/rseq/percpu-alloc.h

index d3b1149b48290b5318f69752fb1cd87f9e6b50f8..54580a7aa2d7e9a3f805a842c934812a2c6f96fa 100644 (file)
@@ -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.
  *
This page took 0.031819 seconds and 4 git commands to generate.