
hulk inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8OIQR ---------------------------------------------------------------------- cgroup/misc: kabi reserve for future misc development Signed-off-by: Chen Ridong <chenridong@huawei.com> --- include/linux/misc_cgroup.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/include/linux/misc_cgroup.h b/include/linux/misc_cgroup.h index e799b1f8d05b..0699d7d7d3e7 100644 --- a/include/linux/misc_cgroup.h +++ b/include/linux/misc_cgroup.h @@ -8,6 +8,8 @@ #ifndef _MISC_CGROUP_H_ #define _MISC_CGROUP_H_ +#include <linux/kabi.h> + /** * Types of misc cgroup entries supported by the host. */ @@ -18,6 +20,11 @@ enum misc_res_type { /* AMD SEV-ES ASIDs resource */ MISC_CG_RES_SEV_ES, #endif + MISC_KABI_RESERVE1, + MISC_KABI_RESERVE2, + MISC_KABI_RESERVE3, + MISC_KABI_RESERVE4, + MISC_KABI_RESERVE5, MISC_CG_RES_TYPES }; @@ -37,6 +44,8 @@ struct misc_res { u64 max; atomic64_t usage; atomic64_t events; + KABI_RESERVE(1) + KABI_RESERVE(2) }; /** @@ -52,6 +61,8 @@ struct misc_cg { struct cgroup_file events_file; struct misc_res res[MISC_CG_RES_TYPES]; + KABI_RESERVE(1) + KABI_RESERVE(2) }; u64 misc_cg_res_total_usage(enum misc_res_type type); -- 2.34.1