svn commit: r247588 - in head/sys: dev/mps kern sys

Attilio Rao attilio at freebsd.org
Fri Mar 1 23:10:00 UTC 2013


On Fri, Mar 1, 2013 at 11:03 PM, John Baldwin <jhb at freebsd.org> wrote:
> Author: jhb
> Date: Fri Mar  1 22:03:31 2013
> New Revision: 247588
> URL: http://svnweb.freebsd.org/changeset/base/247588
>
> Log:
>   Replace the TDP_NOSLEEPING flag with a counter so that the
>   THREAD_NO_SLEEPING() and THREAD_SLEEPING_OK() macros can nest.
>
>   Reviewed by:  attilio

My cleanup had some small tweaks like:
- No trailing white space cleanup in mps
- td_no_sleeping u_int rather than int
- s/TDP_UNUSED9/TDP_UNUSED09 (consistency with others definitions)
- There is no need to use braces around curthread

Also the rmlock part doesn't belong to this patchset.

http://www.freebsd.org/~attilio/jhbnosleep.patch

Attilio


-- 
Peace can only be achieved by understanding - A. Einstein


More information about the svn-src-all mailing list