hulk inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I91CF6
----------------------------------------------------------------------
structure size reserves reserved
dentry 200 2 216 dentry_operations 104 3 128
Signed-off-by: Baokun Li libaokun1@huawei.com --- include/linux/dcache.h | 7 +++++++ 1 file changed, 7 insertions(+)
diff --git a/include/linux/dcache.h b/include/linux/dcache.h index 1c5b08d804ce..0b9a7e1e8110 100644 --- a/include/linux/dcache.h +++ b/include/linux/dcache.h @@ -114,6 +114,9 @@ struct dentry { } d_u; /* negative dentry under this dentry, if it's dir */ atomic_t d_neg_dnum; + + KABI_RESERVE(1) + KABI_RESERVE(2) } __randomize_layout;
/* @@ -143,6 +146,10 @@ struct dentry_operations { struct vfsmount *(*d_automount)(struct path *); int (*d_manage)(const struct path *, bool); struct dentry *(*d_real)(struct dentry *, const struct inode *); + + KABI_RESERVE(1) + KABI_RESERVE(2) + KABI_RESERVE(3) } ____cacheline_aligned;
/*
反馈: 您发送到kernel@openeuler.org的补丁/补丁集,已成功转换为PR! PR链接地址: https://gitee.com/openeuler/kernel/pulls/4530 邮件列表地址:https://mailweb.openeuler.org/hyperkitty/list/kernel@openeuler.org/message/4...
FeedBack: The patch(es) which you have sent to kernel@openeuler.org mailing list has been converted to a pull request successfully! Pull request link: https://gitee.com/openeuler/kernel/pulls/4530 Mailing list address: https://mailweb.openeuler.org/hyperkitty/list/kernel@openeuler.org/message/4...