From 225e1192772930ec30d57e3884313f26e2fa1725 Mon Sep 17 00:00:00 2001 From: Lukasz Dorau Date: Tue, 10 Sep 2024 11:38:28 +0200 Subject: [PATCH] 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 --- src/base_alloc/base_alloc_global.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/base_alloc/base_alloc_global.c b/src/base_alloc/base_alloc_global.c index b5660d4405..12a93fd8b0 100644 --- a/src/base_alloc/base_alloc_global.c +++ b/src/base_alloc/base_alloc_global.c @@ -164,9 +164,6 @@ void *umf_ba_global_aligned_alloc(size_t size, size_t alignment) { int ac_index = size_to_idx(size); if (ac_index >= NUM_ALLOCATION_CLASSES) { - LOG_WARN("base_alloc: allocation size (%zu) larger than the biggest " - "allocation class. Falling back to OS memory allocation.", - size); return add_metadata_and_align(ba_os_alloc(size), size, alignment); }