aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sched.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-10-27 05:50:54 -0400
committerIngo Molnar <mingo@elte.hu>2008-10-27 05:50:54 -0400
commit4944dd62de21230af039eda7cd218e9a09021d11 (patch)
treebac70f7bab8506c7e1b0408bacbdb0b1d77262e9 /include/linux/sched.h
parentf17845e5d97ead8fbdadfd40039e058ec7cf4a42 (diff)
parent0173a3265b228da319ceb9c1ec6a5682fd1b2d92 (diff)
Merge commit 'v2.6.28-rc2' into tracing/urgent
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r--include/linux/sched.h12
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);
287extern void account_process_tick(struct task_struct *task, int user); 287extern void account_process_tick(struct task_struct *task, int user);
288extern void update_process_times(int user); 288extern void update_process_times(int user);
289extern void scheduler_tick(void); 289extern void scheduler_tick(void);
290extern void hrtick_resched(void);
291 290
292extern void sched_show_task(struct task_struct *p); 291extern 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
685extern const struct file_operations proc_schedstat_operations;
686#endif /* CONFIG_SCHEDSTATS */
687
688#ifdef CONFIG_TASK_DELAY_ACCT 683#ifdef CONFIG_TASK_DELAY_ACCT
689struct task_delay_info { 684struct 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;
1665extern unsigned int sysctl_sched_migration_cost; 1666extern unsigned int sysctl_sched_migration_cost;
1666extern unsigned int sysctl_sched_nr_migrate; 1667extern unsigned int sysctl_sched_nr_migrate;
1667extern unsigned int sysctl_sched_shares_ratelimit; 1668extern unsigned int sysctl_sched_shares_ratelimit;
1669extern unsigned int sysctl_sched_shares_thresh;
1668 1670
1669int sched_nr_latency_handler(struct ctl_table *table, int write, 1671int 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,