From owner-cvs-all@FreeBSD.ORG Tue Jun 5 19:36:55 2007 Return-Path: X-Original-To: cvs-all@freebsd.org Delivered-To: cvs-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D455516A46B for ; Tue, 5 Jun 2007 19:36:55 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by mx1.freebsd.org (Postfix) with ESMTP id 6393413C447 for ; Tue, 5 Jun 2007 19:36:55 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: by ug-out-1314.google.com with SMTP id u2so300629uge for ; Tue, 05 Jun 2007 12:36:51 -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=ndvVyafGuk8KNr6Am7cbjldxiDeBh4tiB1/lGCL82SReuVHPvGnK1SZEUpc+QrolOIieTma8xOFAzY4u1aMhaD5/8n83lXCI2FV0MfFot0eeo84ZnxER2j7yx+33Jdhlv0k9dgK9MiIMHEYxHvJEJPP2nAu3fU0Py7c27w+kAwM= 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=e2To590cKGi4bxRSsxzqMRR4DCUgWScd0tezNiIhKhMtcv6pJlO3/dvaSQymcGVJ1ejzGFLmiBxp0hluLk+kiAZSlbRpR4vMQtsA0z6UHKIM9Vw7s4C6hC89GqkwM6vy7kWI0DC4q9NQKMY8OioKhuglPpHXaMomgV6+6Bree/g= Received: by 10.78.37.7 with SMTP id k7mr2636515huk.1181072210848; Tue, 05 Jun 2007 12:36:50 -0700 (PDT) Received: by 10.78.120.9 with HTTP; Tue, 5 Jun 2007 12:36:50 -0700 (PDT) Message-ID: <3bbf2fe10706051236m2597ad4an6d6ce41965a8d057@mail.gmail.com> Date: Tue, 5 Jun 2007 21:36:50 +0200 From: "Attilio Rao" Sender: asmrookie@gmail.com To: "Jeff Roberson" In-Reply-To: <20070605121953.V606@10.0.0.1> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200706051857.l55IvAYP094328@repoman.freebsd.org> <200706051511.56553.jhb@freebsd.org> <20070605121953.V606@10.0.0.1> X-Google-Sender-Auth: c369cf1bb1f8a508 Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org, John Baldwin Subject: Re: cvs commit: src/sys/kern kern_mutex.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2007 19:36:55 -0000 2007/6/5, Jeff Roberson : > On Tue, 5 Jun 2007, John Baldwin wrote: > > > I believe we also should replace thread_lock() and thread_unlock() with > calls to spinlock_enter()/exit() on !SMP and make thread_set_lock() a > no-op for this case. Does that sounds right to everyone? Yes, this sounds fair. Attilio -- Peace can only be achieved by understanding - A. Einstein