Messages in this thread | | | Date | Sun, 4 Sep 2011 21:07:43 +0200 | Subject | Re: [PATCH 4/4] posix-timers: turn it_signal into it_valid flag | From | "Andi Kleen" <> |
| |
> And why do we need to add signal->idr_lock ? It is only used to > serialize idr_get/idr_remove. Probably we can use ->siglock for that, > posix timers use this lock anyway.
Ok. In fact idrs have an own lock too, I'll check that out.
> > Also. I am not sure, but perhaps it make sense to turn > signal->posix_timers_id into the pointer to "struct idr" and allocate > idr on demand?
Probably not worth it, it's not big enough.
-Andi
| |