Messages in this thread | | | Date | Sat, 25 Sep 2010 04:26:38 +0100 | From | Al Viro <> | Subject | Re: [PATCH RESEND] signal: annotate siglock acquisition |
| |
On Sat, Sep 25, 2010 at 12:20:56PM +0900, Namhyung Kim wrote: > lock_task_sighand() conditionally acquires sighand->siglock in case of > returning non-NULL but unlock_task_sighand() releases it unconditionally. > This leads sparse to complain about the lock context imbalance. Annotate it > to make sparse happier.
That's not a good way to do it; use __cond_lock instead.
| |