Actually, as you can never set the state of another process, it would be
fine to just have
set_state(TASK_INTERRUPTIBLE);
instead.
However, often the mb()'s really aren't needed due to being implicit in
something else you do, so I don't know..
Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/