]> git.nega.tv - josh/narcissus/commit
narcissus-gpu: Improve TLSF alignment handling
authorJoshua Simmons <josh@nega.tv>
Sun, 11 Jun 2023 08:02:32 +0000 (10:02 +0200)
committerJoshua Simmons <josh@nega.tv>
Sun, 9 Jul 2023 22:08:34 +0000 (00:08 +0200)
commit556ccc8467ad0ce9189e654e1b097b24ad562b4d
treef84b7585d07780dd1d4c52388b478ab01c0edb80
parent7cef8c49d5f432aa83200dbd92c569b54b217036
narcissus-gpu: Improve TLSF alignment handling

Adjust bucket sizes to ensure all allocations are aligned on a 16b
boundary.

Simplify and derive some constants rather than using magical values.

Change signature of `search_non_empty_bin` since the starting bin isn't
required anywhere else.
libs/narcissus-gpu/src/tlsf.rs