Skip to content
Commit 4b67b115 authored by Allan Stephens's avatar Allan Stephens Committed by Inaky Perez-Gonzalez
Browse files

kernel: Enhance memory pool block deallocation routine



Revises algorithm for deallocating an existing block to make it
more compact (and efficient). Address calculation is simplified
and unnecessary error checking is removed (& replaced by asserts).

Also enhances routine name and comments to make it easier to
understand what is going on.

Change-Id: If1803ee09c8f4f73693c0cff9e433a7938f14398
Signed-off-by: default avatarAllan Stephens <allan.stephens@windriver.com>
parent f2abf742
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment