Should we rename __set_current_state to set_current_state, and put the
mb() inside add_wait_queue(), add_wait_queue_exclusive() and maybe
add_wait_queue_cond()?
People are getting confused by set_current_state() vs
__set_current_state(), esp. since it's only meaningful for
TASK_INTERRUPTIBLE/UNINTERRUPTIBLE.
Thoughts?
Rusty.
-- Anyone who quotes me in their sig is an idiot. -- Rusty Russell. - 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/
This archive was generated by hypermail 2b29 : Tue Jul 23 2002 - 22:00:37 EST