From owner-svn-src-head@FreeBSD.ORG Fri Mar 1 23:10:00 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D71AA3A5; Fri, 1 Mar 2013 23:10:00 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from mail-ie0-x229.google.com (mail-ie0-x229.google.com [IPv6:2607:f8b0:4001:c03::229]) by mx1.freebsd.org (Postfix) with ESMTP id 900CB1C05; Fri, 1 Mar 2013 23:10:00 +0000 (UTC) Received: by mail-ie0-f169.google.com with SMTP id 13so4295422iea.0 for ; Fri, 01 Mar 2013 15:10:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:reply-to:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=mJrTczQxM0XIjOCVC/F6aKZff1EDdDin3ir/qI7CWsg=; b=JJj7B73Qvl9YnTt7fxCXEPgH0bxiwpd3xb6k67uGPugzJwOuuGs6sNPjRL2U6upevT w4Do2yzIJAAQ1VQLpNy9hI+7p2I+6pWB1aqwaOnb1sD0y4b3hjOQdMNQMGgL4O+1JzpV SdN8dwR+0szt64wcWpHtL41KbGmUVhlF9rGxFB9sROJdfE63YKxKSlS3WWvCqTW9jDr3 WyS8rYNccdU6/ZRCYgxdCEpNmUciZ/w6AHi5gUPYAK2460DqIOAgYebNTNLov84aqyMk kGtAOs5u6WbWR772yv96vehdO1emhywm/GS+18F5JD9d9nzEGfc1S0punaDLxhbZ237c usCg== MIME-Version: 1.0 X-Received: by 10.42.54.5 with SMTP id p5mr8469565icg.49.1362179400090; Fri, 01 Mar 2013 15:10:00 -0800 (PST) Sender: asmrookie@gmail.com Received: by 10.42.117.134 with HTTP; Fri, 1 Mar 2013 15:09:59 -0800 (PST) In-Reply-To: <201303012203.r21M3WU8009662@svn.freebsd.org> References: <201303012203.r21M3WU8009662@svn.freebsd.org> Date: Sat, 2 Mar 2013 00:09:59 +0100 X-Google-Sender-Auth: tiQbcJt0lrO7FbE-QsUaXLJzNLs Message-ID: Subject: Re: svn commit: r247588 - in head/sys: dev/mps kern sys From: Attilio Rao To: John Baldwin Content-Type: text/plain; charset=UTF-8 Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: attilio@FreeBSD.org List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Mar 2013 23:10:00 -0000 On Fri, Mar 1, 2013 at 11:03 PM, John Baldwin 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