General packing of structs
Get back some memory/cachelines by packing any leftover static fields together. Signed-off-by: Kozlowski Mateusz <mateusz.kozlowski@intel.com>
This commit is contained in:
@@ -39,8 +39,6 @@
|
||||
* @brief Helpful struct to start cache
|
||||
*/
|
||||
struct ocf_cache_mngt_init_params {
|
||||
bool metadata_volatile;
|
||||
|
||||
ocf_ctx_t ctx;
|
||||
/*!< OCF context */
|
||||
|
||||
@@ -50,6 +48,8 @@ struct ocf_cache_mngt_init_params {
|
||||
uint8_t locked;
|
||||
/*!< Keep cache locked */
|
||||
|
||||
bool metadata_volatile;
|
||||
|
||||
/**
|
||||
* @brief initialization state (in case of error, it is used to know
|
||||
* which assets have to be deallocated in premature exit from function
|
||||
|
Reference in New Issue
Block a user