diff options
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 51 |
1 files changed, 22 insertions, 29 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index c204ab0d4df1..10a83d8d5775 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -569,7 +569,7 @@ struct sched_info { | |||
569 | last_queued; /* when we were last queued to run */ | 569 | last_queued; /* when we were last queued to run */ |
570 | #ifdef CONFIG_SCHEDSTATS | 570 | #ifdef CONFIG_SCHEDSTATS |
571 | /* BKL stats */ | 571 | /* BKL stats */ |
572 | unsigned long bkl_count; | 572 | unsigned int bkl_count; |
573 | #endif | 573 | #endif |
574 | }; | 574 | }; |
575 | #endif /* defined(CONFIG_SCHEDSTATS) || defined(CONFIG_TASK_DELAY_ACCT) */ | 575 | #endif /* defined(CONFIG_SCHEDSTATS) || defined(CONFIG_TASK_DELAY_ACCT) */ |
@@ -705,34 +705,34 @@ struct sched_domain { | |||
705 | 705 | ||
706 | #ifdef CONFIG_SCHEDSTATS | 706 | #ifdef CONFIG_SCHEDSTATS |
707 | /* load_balance() stats */ | 707 | /* load_balance() stats */ |
708 | unsigned long lb_count[CPU_MAX_IDLE_TYPES]; | 708 | unsigned int lb_count[CPU_MAX_IDLE_TYPES]; |
709 | unsigned long lb_failed[CPU_MAX_IDLE_TYPES]; | 709 | unsigned int lb_failed[CPU_MAX_IDLE_TYPES]; |
710 | unsigned long lb_balanced[CPU_MAX_IDLE_TYPES]; | 710 | unsigned int lb_balanced[CPU_MAX_IDLE_TYPES]; |
711 | unsigned long lb_imbalance[CPU_MAX_IDLE_TYPES]; | 711 | unsigned int lb_imbalance[CPU_MAX_IDLE_TYPES]; |
712 | unsigned long lb_gained[CPU_MAX_IDLE_TYPES]; | 712 | unsigned int lb_gained[CPU_MAX_IDLE_TYPES]; |
713 | unsigned long lb_hot_gained[CPU_MAX_IDLE_TYPES]; | 713 | unsigned int lb_hot_gained[CPU_MAX_IDLE_TYPES]; |
714 | unsigned long lb_nobusyg[CPU_MAX_IDLE_TYPES]; | 714 | unsigned int lb_nobusyg[CPU_MAX_IDLE_TYPES]; |
715 | unsigned long lb_nobusyq[CPU_MAX_IDLE_TYPES]; | 715 | unsigned int lb_nobusyq[CPU_MAX_IDLE_TYPES]; |
716 | 716 | ||
717 | /* Active load balancing */ | 717 | /* Active load balancing */ |
718 | unsigned long alb_count; | 718 | unsigned int alb_count; |
719 | unsigned long alb_failed; | 719 | unsigned int alb_failed; |
720 | unsigned long alb_pushed; | 720 | unsigned int alb_pushed; |
721 | 721 | ||
722 | /* SD_BALANCE_EXEC stats */ | 722 | /* SD_BALANCE_EXEC stats */ |
723 | unsigned long sbe_count; | 723 | unsigned int sbe_count; |
724 | unsigned long sbe_balanced; | 724 | unsigned int sbe_balanced; |
725 | unsigned long sbe_pushed; | 725 | unsigned int sbe_pushed; |
726 | 726 | ||
727 | /* SD_BALANCE_FORK stats */ | 727 | /* SD_BALANCE_FORK stats */ |
728 | unsigned long sbf_count; | 728 | unsigned int sbf_count; |
729 | unsigned long sbf_balanced; | 729 | unsigned int sbf_balanced; |
730 | unsigned long sbf_pushed; | 730 | unsigned int sbf_pushed; |
731 | 731 | ||
732 | /* try_to_wake_up() stats */ | 732 | /* try_to_wake_up() stats */ |
733 | unsigned long ttwu_wake_remote; | 733 | unsigned int ttwu_wake_remote; |
734 | unsigned long ttwu_move_affine; | 734 | unsigned int ttwu_move_affine; |
735 | unsigned long ttwu_move_balance; | 735 | unsigned int ttwu_move_balance; |
736 | #endif | 736 | #endif |
737 | }; | 737 | }; |
738 | 738 | ||
@@ -991,7 +991,7 @@ struct task_struct { | |||
991 | int __user *clear_child_tid; /* CLONE_CHILD_CLEARTID */ | 991 | int __user *clear_child_tid; /* CLONE_CHILD_CLEARTID */ |
992 | 992 | ||
993 | unsigned int rt_priority; | 993 | unsigned int rt_priority; |
994 | cputime_t utime, stime; | 994 | cputime_t utime, stime, utimescaled, stimescaled; |
995 | cputime_t gtime; | 995 | cputime_t gtime; |
996 | unsigned long nvcsw, nivcsw; /* context switch counts */ | 996 | unsigned long nvcsw, nivcsw; /* context switch counts */ |
997 | struct timespec start_time; /* monotonic time */ | 997 | struct timespec start_time; /* monotonic time */ |
@@ -1110,13 +1110,6 @@ struct task_struct { | |||
1110 | 1110 | ||
1111 | unsigned long ptrace_message; | 1111 | unsigned long ptrace_message; |
1112 | siginfo_t *last_siginfo; /* For ptrace use. */ | 1112 | siginfo_t *last_siginfo; /* For ptrace use. */ |
1113 | /* | ||
1114 | * current io wait handle: wait queue entry to use for io waits | ||
1115 | * If this thread is processing aio, this points at the waitqueue | ||
1116 | * inside the currently handled kiocb. It may be NULL (i.e. default | ||
1117 | * to a stack based synchronous wait) if its doing sync IO. | ||
1118 | */ | ||
1119 | wait_queue_t *io_wait; | ||
1120 | #ifdef CONFIG_TASK_XACCT | 1113 | #ifdef CONFIG_TASK_XACCT |
1121 | /* i/o counters(bytes read/written, #syscalls */ | 1114 | /* i/o counters(bytes read/written, #syscalls */ |
1122 | u64 rchar, wchar, syscr, syscw; | 1115 | u64 rchar, wchar, syscr, syscw; |