Re: 2.6.0-test6-mm2

From: Robert Love
Date: Thu Oct 02 2003 - 08:46:29 EST


On Thu, 2003-10-02 at 05:23, Andrew Morton wrote:

> +show_task-on-runqueue.patch
>
> Teach sysrq-T to displayu which tasks actually have the CPU

This patch does:

if (p->array)
printk("has_cpu ");

does that work? I think the existence of p->array is the same as it
being runnable. It doesn't say whether or not it is actually running.

Robert Love


-
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/