提交 ee866331 编写于 作者: D Dmitry Kasatkin 提交者: Mimi Zohar

integrity: reduce storage size for ima_status and evm_status

This patch reduces size of the iint structure by 8 bytes.
It saves about 15% of iint cache memory.
Signed-off-by: NDmitry Kasatkin <dmitry.kasatkin@intel.com>
Signed-off-by: NMimi Zohar <zohar@linux.vnet.ibm.com>
上级 16cac49f
......@@ -50,8 +50,8 @@ struct integrity_iint_cache {
u64 version; /* track inode changes */
unsigned short flags;
struct evm_ima_xattr_data ima_xattr;
enum integrity_status ima_status;
enum integrity_status evm_status;
enum integrity_status ima_status:4;
enum integrity_status evm_status:4;
};
/* rbtree tree calls to lookup, insert, delete
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册