From: Mathieu Desnoyers Date: Thu, 29 Aug 2024 19:22:32 +0000 (-0400) Subject: mempool: Remove deprecated rseq_mempool_init_numa from API X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=e395695a97a8b73b184f25cfa3a96fd12ba427e5;p=librseq.git mempool: Remove deprecated rseq_mempool_init_numa from API Signed-off-by: Mathieu Desnoyers Change-Id: I59d0852676442e9bda9fe1ddc9f66182caa14cb6 --- diff --git a/include/rseq/mempool.h b/include/rseq/mempool.h index e9d4859..b28d18f 100644 --- a/include/rseq/mempool.h +++ b/include/rseq/mempool.h @@ -421,22 +421,6 @@ void *rseq_mempool_set_malloc_init(struct rseq_mempool_set *pool_set, void *init return (void *) rseq_mempool_set_percpu_malloc_init(pool_set, init_ptr, len); } -/* - * rseq_mempool_init_numa: Move pages to the NUMA node associated to their CPU topology. - * - * For pages allocated within @pool, invoke move_pages(2) with the given - * @numa_flags to move the pages to the NUMA node associated to their - * CPU topology. - * - * Argument @numa_flags are passed to move_pages(2). The expected flags are: - * MPOL_MF_MOVE: move process-private pages to cpu-specific numa nodes. - * MPOL_MF_MOVE_ALL: move shared pages to cpu-specific numa nodes - * (requires CAP_SYS_NICE). - * - * Returns 0 on success, else return -1 with errno set by move_pages(2). - */ -int rseq_mempool_init_numa(struct rseq_mempool *pool, int numa_flags); - /* * rseq_mempool_attr_create: Create a pool attribute structure. */