zephyr/samples/basic
Krzysztof Sychla a51d3c0f74 kernel: heap: Add allocation metadata to allocated_bytes
The allocated_bytes were missing the allocation metadata. Because of that
the sum of free_bytes and allocated_bytes doesn't remain constant after
each allocation. This convention doesn't match glibc's behavior. This
commit changes the chunksz_to_bytes function to include the metadata in the
calculation. The analysis of the mallinfo2 function from glibc has been
done in #92392 Pull Request.

Signed-off-by: Krzysztof Sychla <ksychla@antmicro.com>
2025-07-07 10:08:58 -05:00
..
blinky
blinky_pwm samples: pwm: add the lp_mspm0g3507 to the blinky_pwm and led/pwm samples 2025-06-27 10:57:05 +02:00
button
custom_dts_binding
fade_led samples: fade_led: add direction per LED 2025-06-30 15:16:37 -05:00
hash_map boards: qemu_nios2: drop board definition 2025-05-15 20:01:05 -04:00
minimal
rgb_led
servo_motor
sys_heap kernel: heap: Add allocation metadata to allocated_bytes 2025-07-07 10:08:58 -05:00
threads
basic.rst