Skip to content
Commit 67706a18 authored by Nicolas Pitre's avatar Nicolas Pitre Committed by Alberto Escolar
Browse files

kernel: mem_slab: reverse free list initialization



As it is, blocks are allocated going backward within the buffer.
There is nothing fundamentally wrong with that, but it makes debugging
unnatural with the successively descending addresses. Create the free
list so pointers are oriented forward, at least initially.

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