mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-20 11:13:58 +08:00
sched: remove interactivity types from sched.h
remove now-unused types/fields used by the old scheduler. Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
634fa8c97c
commit
50e645a8a1
@ -788,7 +788,6 @@ struct mempolicy;
|
|||||||
struct pipe_inode_info;
|
struct pipe_inode_info;
|
||||||
struct uts_namespace;
|
struct uts_namespace;
|
||||||
|
|
||||||
struct prio_array;
|
|
||||||
struct rq;
|
struct rq;
|
||||||
struct sched_domain;
|
struct sched_domain;
|
||||||
|
|
||||||
@ -884,10 +883,9 @@ struct task_struct {
|
|||||||
int oncpu;
|
int oncpu;
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
int load_weight; /* for niceness load balancing purposes */
|
|
||||||
int prio, static_prio, normal_prio;
|
int prio, static_prio, normal_prio;
|
||||||
struct list_head run_list;
|
struct list_head run_list;
|
||||||
struct prio_array *array;
|
|
||||||
struct sched_class *sched_class;
|
struct sched_class *sched_class;
|
||||||
struct sched_entity se;
|
struct sched_entity se;
|
||||||
|
|
||||||
@ -895,13 +893,10 @@ struct task_struct {
|
|||||||
#ifdef CONFIG_BLK_DEV_IO_TRACE
|
#ifdef CONFIG_BLK_DEV_IO_TRACE
|
||||||
unsigned int btrace_seq;
|
unsigned int btrace_seq;
|
||||||
#endif
|
#endif
|
||||||
unsigned long sleep_avg;
|
|
||||||
unsigned long long timestamp, last_ran;
|
|
||||||
unsigned long long sched_time; /* sched_clock time spent running */
|
|
||||||
|
|
||||||
unsigned int policy;
|
unsigned int policy;
|
||||||
cpumask_t cpus_allowed;
|
cpumask_t cpus_allowed;
|
||||||
unsigned int time_slice, first_time_slice;
|
unsigned int time_slice;
|
||||||
|
|
||||||
#if defined(CONFIG_SCHEDSTATS) || defined(CONFIG_TASK_DELAY_ACCT)
|
#if defined(CONFIG_SCHEDSTATS) || defined(CONFIG_TASK_DELAY_ACCT)
|
||||||
struct sched_info sched_info;
|
struct sched_info sched_info;
|
||||||
|
Loading…
Reference in New Issue
Block a user