Make modyfication of global allocator index tread safe by using atomic operation This patch also changes mempool size to be 2^n - 1 which makes it more efficient Change-Id: I5b7426f2feef31471d3a4e6c6d2c7f7474200d68 Signed-off-by: Vitaliy Mysak <vitaliy.mysak@intel.com> Reviewed-on: https://review.gerrithub.io/c/442695 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> |
||
---|---|---|
.. | ||
.gitignore | ||
Makefile | ||
ocf_env_headers.h | ||
ocf_env_list.h | ||
ocf_env.c | ||
ocf_env.h |