zephyr/lib
Nicolas Pitre 11021cdd4f kernel: sys_heap: decouple realloc from aligned_realloc
When sys_heap_realloc() is expressed in terms of sys_heap_aligned_realloc()
it invokes a longer aligned allocation code path with an extra runtime
overhead even though no alignment is necessary.

Let's reference and invoke the aligned allocation code path only when an
actual aligned allocation is requested. This opens the possibility for
the linker to garbage-collect the aligning code otherwise.

Improve realloc documentation while at it.

Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
2025-04-01 22:13:04 +02:00
..
acpi lib: fix typo in multiple directories 2025-01-28 00:06:18 +01:00
cpp cpp: Add c++ version number 2025-02-10 15:57:26 +00:00
crc lib: crc: add crc8_rohc for CRC-8/ROHC variant calculation 2024-10-09 09:48:00 +02:00
hash
heap kernel: sys_heap: decouple realloc from aligned_realloc 2025-04-01 22:13:04 +02:00
libc libc: add comment to empty sys/cdefs.h file 2025-02-21 15:13:20 +00:00
mem_blocks lib: mem_block: move to own folder 2023-12-13 17:27:54 -05:00
net_buf lib: net_buf: remove deprecated net_buf_put() and net_buf_get() functions 2025-03-12 19:04:19 +01:00
open-amp lib: open-amp: optional copy of rsc_table to memory region 2025-03-24 12:17:53 +01:00
os lib/os/fdtable: Remove ifdef on NATIVE_POSIX 2025-03-12 02:27:36 +01:00
posix posix: remove deprecated kconfig options 2025-03-12 19:03:52 +01:00
runtime
smf lib: smf: Fix handled bug causing events to not propagate. 2025-01-23 19:24:08 +01:00
utils ring_buffer: shrink size of struct ring_buf 2025-03-11 08:59:05 +01:00
CMakeLists.txt lib: net_buf: move the network buffer implementation to lib 2024-09-07 11:19:05 -05:00
Kconfig lib: net_buf: move the network buffer implementation to lib 2024-09-07 11:19:05 -05:00