[all-commits] [llvm/llvm-project] 78c460: [libc] Fix incorrect count when initializing slab
Joseph Huber via All-commits
all-commits at lists.llvm.org
Tue Jul 29 16:50:29 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 78c460bbe8f1fc17e2e66b37edf419ccecbfecba
https://github.com/llvm/llvm-project/commit/78c460bbe8f1fc17e2e66b37edf419ccecbfecba
Author: Joseph Huber <huberjn at outlook.com>
Date: 2025-07-29 (Tue, 29 Jul 2025)
Changed paths:
M libc/src/__support/GPU/allocator.cpp
Log Message:
-----------
[libc] Fix incorrect count when initializing slab
Summary:
The initialization code should share the result with all of its
neighbors. Right now it sets them to the sentinel value and doesn't
shuffle them correctly. Shuffle them after initialization so we
correctly report that we succeeded in the allocation.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list