Messages in this thread | | | Date | Thu, 11 Nov 2010 21:29:22 +0100 | From | Oleg Nesterov <> | Subject | Re: [RFC/RFT PATCH v3] sched: automated per tty task groups |
| |
On 11/11, Linus Torvalds wrote: > > Well, it cuts both ways. Maybe your approach is simpler and avoids > overhead at scheduling time. And "tsk->signal" may not be reliable due > to races with exit etc, so it may well be that going through the > signal struct could end up being a source of nasty races. I didn't > look whether the scheduler already derefenced ->signal for some other > reason, for example.
Just in case, starting from 2.6.35 tsk->signal is reliable.
Oleg.
| |