General structure packing

Pack often used structures, so that less memory/cachelines are used

Signed-off-by: Kozlowski Mateusz <mateusz.kozlowski@intel.com>
This commit is contained in:
Kozlowski Mateusz
2021-03-16 10:11:08 +01:00
parent c751974ae0
commit da9a6204d3
4 changed files with 10 additions and 10 deletions

View File

@@ -7,12 +7,12 @@
#include "ocf_env.h"
struct env_mpool {
int mpool_max;
/*!< Max mpool allocation order */
env_allocator *allocator[env_mpool_max];
/*!< OS handle to memory pool */
int mpool_max;
/*!< Max mpool allocation order */
uint32_t hdr_size;
/*!< Data header size (constant allocation part) */