mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-01 13:30:42 +00:00
af814ff9a8
This was inspired by Hoard: A Scalable Memory Allocator for Multithreaded Applications Emery D. Berger, Kathryn S. McKinley, Robert D. Blumofe, Paul R. Wilson, It's not anywhere near the same implementation, but it did take a few basic concepts. The idea is twofold: 1) A pool of memory from which blocks can be allocated and then freed en-mass and is fairly efficient for small (4-16 byte) blocks 2) Tread safety for use with the Vulkan renderer (and any other multi-threaded tasks). However, based on the Hoard paper, small allocations are cache-line aligned. On top of that, larger allocations are page aligned. I suspect it would help qfvis somewhat if I ever get around to tweaking qfvis to use cmem. |
||
---|---|---|
.. | ||
Makemodule.am | ||
test-bary.c | ||
test-cmem.c | ||
test-cs.c | ||
test-darray.c | ||
test-dq.c | ||
test-half.c | ||
test-mat3.c | ||
test-mat4.c | ||
test-plist.c | ||
test-qfs.c | ||
test-quat.c | ||
test-seb.c | ||
test-seg.c | ||
test-set.c | ||
test-txtbuffer.c | ||
test-vrect.c |