svn commit: r238907 - projects/calloutng/sys/kern
Attilio Rao
attilio at freebsd.org
Mon Jul 30 15:04:18 UTC 2012
On 7/30/12, Andriy Gapon <avg at freebsd.org> wrote:
> on 30/07/2012 17:56 Attilio Rao said the following:
>> More explicitly, I think such combination TDP_NOSLEEPING +
>> TDP_NOBLOCKING (name invented) should be set on entering the interrupt
>> context, not only related to this part of callouts. This would be a
>> very good help for catching buggy situations.
>
> Something very tangential. I think it would also be nice to check if a
> thread has
> any(?) locks held when returning to userland.
This happens already for INVARIANTS case, with td_locks counters.
In the !INVARIANTS case, this doesn't happen because you don't want to
add the burden to bump td_locks for the fast case and I think it is a
good approach.
Attilio
--
Peace can only be achieved by understanding - A. Einstein
More information about the svn-src-projects
mailing list