Messages in this thread | | | Date | Tue, 4 Oct 2011 19:52:35 +0200 | From | Oleg Nesterov <> | Subject | Re: [RFC][PATCH 0/5] Signal scalability series |
| |
On 10/04, Oleg Nesterov wrote: > > On 10/03, Peter Zijlstra wrote: > > > > Right, so the thing Thomas and I have been promoting for a while now is > > to update a signal target vector on every signal mask update. Mask > > updates should be the slow path. This would leave us with a ready target > > in O(1). > > Yes. This is the "obvious" solution ;) Now that we have > set_current_blocked() this is simple. Except, of course, this blows > signal_struct and set_current_blocked() can't rely on TIF_SIGPENDING. > But we can probably add TIF_YOU_ARE_LISTED_IN_CURR_TARGET_ARRAY.
Forgot to mention... Unblocking becomes "nontrivial" too. But almost all these changes are local to set_current_blocked().
Oleg.
| |