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

@@ -192,8 +192,8 @@ static int _cas_upgrade_dump_cache_conf_main(ocf_cache_t cache,
}
struct _ocf_core_visitor_ctx {
int i;
struct cas_properties *cache_props;
int i;
int error;
};
@@ -710,9 +710,9 @@ static int _cas_upgrade_init_props_array(
}
struct _cas_cache_dump_conf_visitor_ctx {
int i;
struct cas_properties **caches_props_array;
struct casdsk_props_conf *caches_serialized_conf;
int i;
int error;
};