Revert "mempool: Track allocated items per range"
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 12 Apr 2024 19:43:26 +0000 (15:43 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 12 Apr 2024 19:43:26 +0000 (15:43 -0400)
commit2d9f5025ed0ee15cbb708921c3581b983b60da32
treea42ab7058a5459c55f318031914fecf9c1bb3ca3
parentf06c65e79fc34c719568f577d638cc51716d8440
Revert "mempool: Track allocated items per range"

This reverts commit ffea0dea60059c855cb0b4e1f784352012ae0b37.

Counting allocated items per range has no inherent use and adds a
counter to the allocation/free fast path: we could not easily unmap
ranges when the allocated items count reaches 0 anyway because the pool
free list spawns across items from all ranges.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
src/rseq-mempool.c
This page took 0.023005 seconds and 4 git commands to generate.