Skip to content
Commit 9dcd76a6 authored by Nicolas Pitre's avatar Nicolas Pitre Committed by Anas Nashif
Browse files

lib/os/heap: minimize initial overallocation in the aligned case



The biggest required padding is equal to `align - chunk_header_bytes`
and not `align - 1` given that the header already contributes to the
padding.

Signed-off-by: default avatarNicolas Pitre <npitre@baylibre.com>
parent cf017378
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment