Date: Sat, 2 Mar 2013 00:09:59 +0100 From: Attilio Rao <attilio@freebsd.org> To: John Baldwin <jhb@freebsd.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r247588 - in head/sys: dev/mps kern sys Message-ID: <CAJ-FndBXX1OEEWbNQNJP2fQwbwuYevT-eXUWM8x3sBPtwgCppg@mail.gmail.com> In-Reply-To: <201303012203.r21M3WU8009662@svn.freebsd.org> References: <201303012203.r21M3WU8009662@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Mar 1, 2013 at 11:03 PM, John Baldwin <jhb@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-FndBXX1OEEWbNQNJP2fQwbwuYevT-eXUWM8x3sBPtwgCppg>