From owner-cvs-src@FreeBSD.ORG Tue Jun 5 17:37:42 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B9EB416A46E for ; Tue, 5 Jun 2007 17:37:42 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by mx1.freebsd.org (Postfix) with ESMTP id 9A7C213C4B9 for ; Tue, 5 Jun 2007 17:37:41 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: by ug-out-1314.google.com with SMTP id u2so265506uge for ; Tue, 05 Jun 2007 10:37:40 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=TSF2/D0ginqtgxvwcNr1oIoNig/XUZmtTnnem27uz0llghm7xCjdVGNgcMhEPjJGUp9qpRwbYnv+rQwxqEOt/wHlEwZhhvWmyKlgF7hBWWEEMcUti+7GGOUIHjRhOpQL12l6md4ssZP4dbRDJ468WBnLoRHfHpUw79gZAl4E58k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=oFG7zEYFBQ9XiN211VHQr9V+AzCIKKeGJdMDL8fTyw2sSXMD07klSuaGSXjf+m/fyxk6GPN9W8atauBx8nuyrrHvAUMsj58l+ioNPF8ouk47bDwwlce0NXpj4akXvkRCoq7tgsNnsp0YdStz25oL6yuK3FFZd4kCSuwcxGTkfTs= Received: by 10.78.170.6 with SMTP id s6mr2597144hue.1181065060277; Tue, 05 Jun 2007 10:37:40 -0700 (PDT) Received: by 10.78.120.9 with HTTP; Tue, 5 Jun 2007 10:37:40 -0700 (PDT) Message-ID: <3bbf2fe10706051037n3442fc3cjc89501b42d1a5543@mail.gmail.com> Date: Tue, 5 Jun 2007 19:37:40 +0200 From: "Attilio Rao" Sender: asmrookie@gmail.com To: "John Baldwin" In-Reply-To: <200706051327.21307.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200706051420.l55EKEih018925@repoman.freebsd.org> <200706051230.21242.jhb@freebsd.org> <3bbf2fe10706051012x76381687g98e034ceb47b3f26@mail.gmail.com> <200706051327.21307.jhb@freebsd.org> X-Google-Sender-Auth: bd4199eac5c94cbf Cc: Kostik Belousov , cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org, Bruce Evans Subject: Re: cvs commit: src/sys/kern kern_mutex.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2007 17:37:42 -0000 2007/6/5, John Baldwin : > In the PREEMPTION case, the act of making the threads runnable will trigger a > preemption (or set td_owepreempt). The !PREEMPTION stuff is to make > mtx_unlock() preempt when PREEMPTION isn't enabled in the kernel. Yes, I just thought it wasn't due for the !PREEMPTION case. Attilio -- Peace can only be achieved by understanding - A. Einstein