From owner-freebsd-hackers@FreeBSD.ORG Thu Dec 28 19:19:17 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BA62216A407 for ; Thu, 28 Dec 2006 19:19:17 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.186]) by mx1.freebsd.org (Postfix) with ESMTP id 5220213C48D for ; Thu, 28 Dec 2006 19:19:17 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: by nf-out-0910.google.com with SMTP id x37so5248481nfc for ; Thu, 28 Dec 2006 11:19:16 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; 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=F1n+kYtpnc6NxTcn9pT42xA5bwMcNNiZxVq6dAeIzgzJ17oatsJFrwiZvPWXFSHVhFndDnZIQsc0iWHANaPB9Spg5Dho83tXt5B3FdFcn+J8rBTMj4bewr67ZQYcm+cQZWy++ZzeWIJtTVJHJXfQFVw+slGbpHQmOBOLhhNOFXg= Received: by 10.82.105.13 with SMTP id d13mr888540buc.1167333556046; Thu, 28 Dec 2006 11:19:16 -0800 (PST) Received: by 10.82.178.4 with HTTP; Thu, 28 Dec 2006 11:19:15 -0800 (PST) Message-ID: <3bbf2fe10612281119w136f0561p2c0f7efd924d3b80@mail.gmail.com> Date: Thu, 28 Dec 2006 20:19:15 +0100 From: "Attilio Rao" Sender: asmrookie@gmail.com To: duane@dwlabs.ca In-Reply-To: <20061224092427.GD10511@dwpc.dwlabs.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20061220041843.GA10511@dwpc.dwlabs.ca> <3bbf2fe10612200414j4c1c01ecr7b37e956b70b01fa@mail.gmail.com> <458A249D.3030502@FreeBSD.org> <3bbf2fe10612210558m66795673kd352a385a98f6e2b@mail.gmail.com> <20061222134113.T65423@fledge.watson.org> <3bbf2fe10612221425j62374c46q538ca2e256f7efc2@mail.gmail.com> <20061223142410.2a2b783c@Magellan.Leidinger.net> <20061224092427.GD10511@dwpc.dwlabs.ca> X-Google-Sender-Auth: 94f3497f23c4cca7 Cc: Alexander@leidinger.net, freebsd-hackers@freebsd.org Subject: Re: Locking fundamentals X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Dec 2006 19:19:17 -0000 2006/12/24, Duane Whitty : > On Sat, Dec 23, 2006 at 02:24:10PM +0100, Alexander Leidinger wrote: > > Quoting "Attilio Rao" (Fri, 22 Dec 2006 23:25:53 +0100): > > > > > 2006/12/22, Robert Watson : > > > > On Thu, 21 Dec 2006, Attilio Rao wrote: > > > > [explanation] > > > > Could someone of you make a copy and paste of and a little bit of gluing > > the parts together somewhere? Maybe in the wiki? > > One of the reasons for my initial mail is that I would like > to help with the Architecture Handbook. That is where I would > like to put the content of this thread as well as other emails > I have been reading/saving regarding locking/threads/scheduling. This would be a great idea. A 'locking manual' chapter would be a very nice thing (and we could add a section on 'prefered strategies' into the kernel, a sort of 'how do proper locking' showing some real cases). I think that the better person to review the work would be jhb@ but I don't know his current level of busy-ness :P. I hope to see something in this direction, ASAP. Attilio -- Peace can only be achieved by understanding - A. Einstein