Commit 00d7e686 authored by Guan Jing's avatar Guan Jing Committed by NanyongSun
Browse files

sched/fair: Fix kabi borken in sched_domain

hulk inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I78WM8


CVE: NA

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

Signed-off-by: default avatarGuan Jing <guanjing6@huawei.com>
parent edd5e1ef
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -98,7 +98,6 @@ struct sched_domain {
	unsigned int busy_factor;	/* less balancing by factor if busy */
	unsigned int imbalance_pct;	/* No balance until over watermark */
	unsigned int cache_nice_tries;	/* Leave cache hot tasks for # tries */
	unsigned int imb_numa_nr;	/* Nr running tasks that allows a NUMA imbalance */

	int nohz_idle;			/* NOHZ IDLE status */
	int flags;			/* See SD_* */
@@ -154,8 +153,12 @@ struct sched_domain {
		struct rcu_head rcu;	/* used during destruction */
	};
	struct sched_domain_shared *shared;

#ifndef __GENKSYMS__
	unsigned int imb_numa_nr;	/* Nr running tasks that allows a NUMA imbalance */
	KABI_FILL_HOLE(unsigned int kabi_hole)
#else
	KABI_RESERVE(1)
#endif
	KABI_RESERVE(2)

	unsigned int span_weight;