aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-05-11 06:59:32 -0400
committerIngo Molnar <mingo@elte.hu>2009-05-11 06:59:37 -0400
commit7961386fe9596e6bf03d09948a73c5df9653325b (patch)
tree60fa2586a0d340ef8f7473956eef17430d8250c7 /kernel/sched.c
parentaa47b7e0f89b9998dad4d1667447e8cb7703ff4e (diff)
parent091bf7624d1c90cec9e578a18529f615213ff847 (diff)
Merge commit 'v2.6.30-rc5' into sched/core
Merge reason: sched/core was on .30-rc1 before, update to latest fixes Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched.c')
-rw-r--r--kernel/sched.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index 5aa63f50c696..8908d190a348 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -4856,7 +4856,7 @@ void account_process_tick(struct task_struct *p, int user_tick)
4856 4856
4857 if (user_tick) 4857 if (user_tick)
4858 account_user_time(p, one_jiffy, one_jiffy_scaled); 4858 account_user_time(p, one_jiffy, one_jiffy_scaled);
4859 else if (p != rq->idle) 4859 else if ((p != rq->idle) || (irq_count() != HARDIRQ_OFFSET))
4860 account_system_time(p, HARDIRQ_OFFSET, one_jiffy, 4860 account_system_time(p, HARDIRQ_OFFSET, one_jiffy,
4861 one_jiffy_scaled); 4861 one_jiffy_scaled);
4862 else 4862 else
@@ -4970,7 +4970,7 @@ void scheduler_tick(void)
4970#endif 4970#endif
4971} 4971}
4972 4972
4973unsigned long get_parent_ip(unsigned long addr) 4973notrace unsigned long get_parent_ip(unsigned long addr)
4974{ 4974{
4975 if (in_lock_functions(addr)) { 4975 if (in_lock_functions(addr)) {
4976 addr = CALLER_ADDR2; 4976 addr = CALLER_ADDR2;
@@ -7488,8 +7488,12 @@ static int sched_domain_debug_one(struct sched_domain *sd, int cpu, int level,
7488 cpumask_or(groupmask, groupmask, sched_group_cpus(group)); 7488 cpumask_or(groupmask, groupmask, sched_group_cpus(group));
7489 7489
7490 cpulist_scnprintf(str, sizeof(str), sched_group_cpus(group)); 7490 cpulist_scnprintf(str, sizeof(str), sched_group_cpus(group));
7491 printk(KERN_CONT " %s (__cpu_power = %d)", str, 7491
7492 group->__cpu_power); 7492 printk(KERN_CONT " %s", str);
7493 if (group->__cpu_power != SCHED_LOAD_SCALE) {
7494 printk(KERN_CONT " (__cpu_power = %d)",
7495 group->__cpu_power);
7496 }
7493 7497
7494 group = group->next; 7498 group = group->next;
7495 } while (group != sd->groups); 7499 } while (group != sd->groups);