On Sat, Oct 27, 2007 at 12:39:41AM +0400, Alexey Dobriyan wrote: > > > - if ((task->state != TASK_STOPPED) && (task->state != > > > TASK_TRACED)) { > > > + if (!is_task_stopped_or_traced(task)) { > ^^^^^^^^^^^^^^^^^^^^^^^^^^ > > I think this is horrible. Are you going to add full blown static inline > function for every combination of state tests?
No, because we don't need them. Just stopped, traced, stopped_or_traced. -- Intel are signing my paycheques ... these opinions are still mine "Bill, look, we understand that you're interested in selling us this operating system, but compare it to ours. We can't possibly take such a retrograde step." - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/