Commit 9d62feb2 authored by Chen Ridong's avatar Chen Ridong
Browse files

cgroup: add more reserve kabi

hulk inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I8SA3O



--------------------------------

Reserve KABI for future feature development.

Signed-off-by: default avatarChen Ridong <chenridong@huawei.com>
parent a91bb3a0
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -325,6 +325,8 @@ struct cgroup_base_stat {
#ifdef CONFIG_SCHED_CORE
	u64 forceidle_sum;
#endif
	KABI_RESERVE(1)
	KABI_RESERVE(2)
};

/*
@@ -555,6 +557,9 @@ struct cgroup {
	KABI_RESERVE(3)
	KABI_RESERVE(4)
	KABI_RESERVE(5)
	KABI_RESERVE(6)
	KABI_RESERVE(7)
	KABI_RESERVE(8)
	/* All ancestors including self */
	struct cgroup *ancestors[];
};
@@ -606,6 +611,8 @@ struct cgroup_root {
	KABI_RESERVE(2)
	KABI_RESERVE(3)
	KABI_RESERVE(4)
	KABI_RESERVE(5)
	KABI_RESERVE(6)
};

/*
+8 −0
Original line number Diff line number Diff line
@@ -429,6 +429,14 @@ struct mem_cgroup {
	KABI_RESERVE(6)
	KABI_RESERVE(7)
	KABI_RESERVE(8)
	KABI_RESERVE(9)
	KABI_RESERVE(10)
	KABI_RESERVE(11)
	KABI_RESERVE(12)
	KABI_RESERVE(13)
	KABI_RESERVE(14)
	KABI_RESERVE(15)
	KABI_RESERVE(16)
	struct mem_cgroup_per_node *nodeinfo[];
};

+0 −5
Original line number Diff line number Diff line
@@ -211,11 +211,6 @@ struct cpuset {

	/* Remote partition silbling list anchored at remote_children */
	struct list_head remote_sibling;

	KABI_RESERVE(1)
	KABI_RESERVE(2)
	KABI_RESERVE(3)
	KABI_RESERVE(4)
};

/*