[Question] sched: Should nr_uninterruptible be decremented in ttwu_do_activate()?

From: Rakib Mullick
Date: Wed Jan 11 2012 - 12:22:30 EST


Hello all,

In ttwu_do_activate(), we're decrementing nr_uninterruptible if
p->sched_contributes_to_load (for SMP=y). But, we're also decrementing
nr_uninterruptible from activate_task at the same path. Why we're
doing it twice for a single task activation path?


Thanks,
Rakib
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/