On Tue, 17 Aug 1999, Alan Cox wrote:
>
> set_task_state(curremt, TASK_INTERRUPTIBLE) as a macro would be a lot nicer ?
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
-
Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/mentre/smp-faq/
To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]
- [patch] possible SMP races all over the place in wait_... Andrea Arcangeli
- Re: [patch] possible SMP races all over the place... Linus Torvalds
- Re: [patch] possible SMP races all over the p... Andrea Arcangeli
- Re: [patch] possible SMP races all over the p... Andrea Arcangeli
- Re: [patch] possible SMP races all over t... Alan Cox
- Re: [patch] possible SMP races all ov... Linus Torvalds
- Re: [patch] possible SMP races a... Alan Cox
- Re: [patch] possible SMP races a... Andrea Arcangeli
- Re: [patch] possible SMP races all over t... Jeremy Fitzhardinge
- Re: [patch] possible SMP races all ov... Andrea Arcangeli
- Re: [patch] possible SMP races all over t... Ingo Molnar
- Re: [patch] possible SMP races all ov... David S. Miller
- Re: [patch] possible SMP races a... Andrea Arcangeli
- Re: [patch] possible SMP races a... Ingo Molnar
