zephyr/lib
Andy Ross 7d78122caa lib/mempool: One more spurious -ENOMEM condition
Similar to the last patch, there was a spot in block recombination
where the lock would be released while the combined block was being
held allocated.  That means that when recombining a single top-level
block, it was possible for the entire heap to look allocated.

Make the combination and re-addition of the larger block atomic.
Requires a little surgery to the structure of the code, so this is a
little more involved than the earlier fix.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2018-11-20 11:35:10 +01:00
..
base64 lib: base64: Add statement of changes 2018-03-23 13:54:48 +01:00
cmsis_rtos_v1 lib/cmsis_rtos_v1: Use k_is_in_isr instead of _is_in_isr 2018-11-15 09:20:57 -05:00
crc crc8: fix const correctness 2018-10-04 16:37:21 -05:00
json lib: json: Fix warning when building with newlib 2018-07-12 16:01:30 -05:00
libc dts_fixups: Use DT_ prefix in all defined labels not related to Kconfig 2018-11-13 10:44:42 -06:00
mempool lib/mempool: One more spurious -ENOMEM condition 2018-11-20 11:35:10 +01:00
posix lib: posix: fs: Convert to use generic fdtable 2018-11-04 22:04:11 +01:00
rbtree lib: Normalize if/else statements 2018-11-06 16:20:15 -05:00
ring_buffer lib: ring_buffer: add raw byte access mode 2018-10-09 13:58:44 -04:00
CMakeLists.txt lib: posix: Implement generic file descriptor table 2018-11-04 22:04:11 +01:00
fdtable.c lib: fdtable: File descriptor table should reside in kernel memory 2018-11-08 09:47:46 -08:00
Kconfig Kconfig: Use a short, consistent style for prompts 2018-08-15 04:10:10 -07:00
thread_entry.c kernel: thread: Move out the function _thread_entry() to lib 2018-05-15 17:48:18 +03:00