Messages in this thread | | | Subject | Re: [patch] possible SMP races all over the place in wait_event | Date | Tue, 17 Aug 1999 23:09:28 +0100 (BST) | From | Alan Cox <> |
| |
> 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..
_set_state(blah)
as well then. That also means in future actual code can get into state changes should it ever become useful for a scheduler change
- 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/
| |