zephyr/lib
Nicolas Pitre bb7c2e82b1 mempool: remove redundant bit set/clear within loops
When small blocks are recombined to create a single block at a shallower
level, it is sufficient to remove those blocks from the free list. There
is no need to mark those small blocks as allocated in the bitmap.

This, in turn, removes the need to mark small blocks back as unallocated
when splitting up a big blocks as they'll already be so marked.
Only the first small block needs to be marked allocated and the
remaining blocks only need to be added to the free list.

This makes the code smaller and more efficient, especially since those
removed bit manipulations were located within loops.

Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
2019-10-04 13:42:59 -04:00
..
cmsis_rtos_v1 coccinelle: standardize kernel API timeout arguments 2019-10-03 11:55:44 -07:00
cmsis_rtos_v2 coccinelle: standardize kernel API timeout arguments 2019-10-03 11:55:44 -07:00
gui cmake: don't link interface libraries with zephyr_interface 2019-09-26 05:50:46 -07:00
libc realloc(): move mempool internal knowledge out of generic lib code 2019-09-30 10:57:24 -07:00
os mempool: remove redundant bit set/clear within loops 2019-10-04 13:42:59 -04:00
posix coccinelle: standardize kernel API timeout arguments 2019-10-03 11:55:44 -07:00
updatehub cleanup: include/: move misc/reboot.h to power/reboot.h 2019-06-27 22:55:49 -04:00
CMakeLists.txt lib: posix: Kconfig: Allow to enable individual components 2019-09-25 20:56:29 -07:00
Kconfig lib: updatehub: Add UpdateHub.io support 2019-06-05 00:20:37 +02:00