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;
/*