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

kernel: Enhance memory pool initialization routine



Makes a couple of minor optimizations to initialization algorithm:

- Now initializes block status array for largest size blocks once,
  rather than twice.
- Doesn't initialize "count" field of block size descriptors to zero,
  since sysgen ensures that this happens automatically.

Also enhances comments for initialization routine to make it easier
to understand what is going on.

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