diff options
Diffstat (limited to 'include/linux/sched.h')
| -rw-r--r-- | include/linux/sched.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 5c38db536e07..8478f334d732 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
| @@ -287,7 +287,6 @@ extern void trap_init(void); | |||
| 287 | extern void account_process_tick(struct task_struct *task, int user); | 287 | extern void account_process_tick(struct task_struct *task, int user); |
| 288 | extern void update_process_times(int user); | 288 | extern void update_process_times(int user); |
| 289 | extern void scheduler_tick(void); | 289 | extern void scheduler_tick(void); |
| 290 | extern void hrtick_resched(void); | ||
| 291 | 290 | ||
| 292 | extern void sched_show_task(struct task_struct *p); | 291 | extern void sched_show_task(struct task_struct *p); |
| 293 | 292 | ||
| @@ -681,10 +680,6 @@ struct sched_info { | |||
| 681 | }; | 680 | }; |
| 682 | #endif /* defined(CONFIG_SCHEDSTATS) || defined(CONFIG_TASK_DELAY_ACCT) */ | 681 | #endif /* defined(CONFIG_SCHEDSTATS) || defined(CONFIG_TASK_DELAY_ACCT) */ |
| 683 | 682 | ||
| 684 | #ifdef CONFIG_SCHEDSTATS | ||
| 685 | extern const struct file_operations proc_schedstat_operations; | ||
| 686 | #endif /* CONFIG_SCHEDSTATS */ | ||
| 687 | |||
| 688 | #ifdef CONFIG_TASK_DELAY_ACCT | 683 | #ifdef CONFIG_TASK_DELAY_ACCT |
| 689 | struct task_delay_info { | 684 | struct task_delay_info { |
| 690 | spinlock_t lock; | 685 | spinlock_t lock; |
| @@ -1346,6 +1341,12 @@ struct task_struct { | |||
| 1346 | int latency_record_count; | 1341 | int latency_record_count; |
| 1347 | struct latency_record latency_record[LT_SAVECOUNT]; | 1342 | struct latency_record latency_record[LT_SAVECOUNT]; |
| 1348 | #endif | 1343 | #endif |
| 1344 | /* | ||
| 1345 | * time slack values; these are used to round up poll() and | ||
| 1346 | * select() etc timeout values. These are in nanoseconds. | ||
| 1347 | */ | ||
| 1348 | unsigned long timer_slack_ns; | ||
| 1349 | unsigned long default_timer_slack_ns; | ||
| 1349 | }; | 1350 | }; |
| 1350 | 1351 | ||
| 1351 | /* | 1352 | /* |
| @@ -1665,6 +1666,7 @@ extern unsigned int sysctl_sched_features; | |||
| 1665 | extern unsigned int sysctl_sched_migration_cost; | 1666 | extern unsigned int sysctl_sched_migration_cost; |
| 1666 | extern unsigned int sysctl_sched_nr_migrate; | 1667 | extern unsigned int sysctl_sched_nr_migrate; |
| 1667 | extern unsigned int sysctl_sched_shares_ratelimit; | 1668 | extern unsigned int sysctl_sched_shares_ratelimit; |
| 1669 | extern unsigned int sysctl_sched_shares_thresh; | ||
| 1668 | 1670 | ||
| 1669 | int sched_nr_latency_handler(struct ctl_table *table, int write, | 1671 | int sched_nr_latency_handler(struct ctl_table *table, int write, |
| 1670 | struct file *file, void __user *buffer, size_t *length, | 1672 | struct file *file, void __user *buffer, size_t *length, |
