Skip to content

Commit 225e119

Browse files
committed
Remove the warning message of the base allocator
Remove the warning message of the base allocator. This situation can happen often and it is nothing wrong, so this message just spams the debug output. Signed-off-by: Lukasz Dorau <[email protected]>
1 parent ccae3c2 commit 225e119

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/base_alloc/base_alloc_global.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,6 @@ void *umf_ba_global_aligned_alloc(size_t size, size_t alignment) {
164164

165165
int ac_index = size_to_idx(size);
166166
if (ac_index >= NUM_ALLOCATION_CLASSES) {
167-
LOG_WARN("base_alloc: allocation size (%zu) larger than the biggest "
168-
"allocation class. Falling back to OS memory allocation.",
169-
size);
170167
return add_metadata_and_align(ba_os_alloc(size), size, alignment);
171168
}
172169

0 commit comments

Comments
 (0)