Re: [RFC/RFT PATCH v3] sched: automated per tty task groups

From: Peter Zijlstra
Date: Mon Nov 15 2010 - 17:49:22 EST


On Mon, 2010-11-15 at 14:25 -0700, Mike Galbraith wrote:
> > However. Currently the only callers holds ->siglock, so we are safe.
> > Perhaps we should just document that autogroup_move_group() needs
> > ->siglock.
>
> Done.

lockdep_assert_held() is a good way to document these things.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/