Is it really possible for a task to be 'current' without having
'has_cpu' set? If so, then don't you need to compare p to
'current' on all CPUs since 'current' is CPU specific?
-- Mike Kravetz kravetz@us.ibm.com IBM Linux Technology Center (we're not at Sequent anymore) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/