fence: free and realloc stay on the fast path with the arena on - the arena's range checked inline

With the arena running every free and every realloc took the slow path (a call to check the range,
then the fence's own test). Now lp_free checks the arena's range inline and hands anything else to
libc unless the fence is tracking; lp_realloc goes slow only for a scratch request, a tracked run or
an arena block. Ready for when the final run's medians ask for it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Orkun ÇAKILKAYA 2026-09-28 18:37:45 +03:00
parent 8c72437ecc
commit dd20cb2d5d
3 changed files with 48129 additions and 48117 deletions

File diff suppressed because it is too large Load diff