From owner-freebsd-arch@FreeBSD.ORG Sat May 26 00:03:15 2007 Return-Path: X-Original-To: arch@freebsd.org Delivered-To: freebsd-arch@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4106516A477 for ; Sat, 26 May 2007 00:03:15 +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 599EB13C43E for ; Sat, 26 May 2007 00:03:11 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: by ug-out-1314.google.com with SMTP id u2so435280uge for ; Fri, 25 May 2007 17:03:10 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=cGzmcfFVpTSw1Ej8wx4szYJvAl10YFFSoEa+NtZupUsbLdTqy+UT5jj+VPpEbT9o9ZR+y13khataFNiRlJ7ipNOV/3OmNOAFrpAjhAnYizkF7eHzvvFp19eeFcJfRkllSu74/Liq9gtaZSAEslVnqaAVLVAzgh/9yVkM3XT8Wz8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=WCNbHPvh462le5ERuZkLPjdKJ6QwqUB90VHmqen2LbpUNxgYWH20iTWqX3oKiHbyK7wDb0q3TWAikNjw03tbKm3o+Ynyq07K5Y68Xhi7Uf8lSDdouCczkR/MLI034IfgBxMu4Wmjcd5tD+tetBl7EH3Dug+LJeafCTuOcQiobE0= Received: by 10.67.97.18 with SMTP id z18mr3269247ugl.1180137790314; Fri, 25 May 2007 17:03:10 -0700 (PDT) Received: from ?151.75.248.62? ( [151.75.248.62]) by mx.google.com with ESMTP id y1sm1465987uge.2007.05.25.17.03.08; Fri, 25 May 2007 17:03:09 -0700 (PDT) Message-ID: <46577936.9060804@FreeBSD.org> Date: Sat, 26 May 2007 02:03:02 +0200 From: Attilio Rao User-Agent: Thunderbird 1.5 (X11/20060526) MIME-Version: 1.0 To: Alan Cox References: <20070520155103.K632@10.0.0.1> <20070521113648.F86217@besplex.bde.org> <20070520213132.K632@10.0.0.1> <4651CAB8.8070007@FreeBSD.org> <4651CE2F.8080908@FreeBSD.org> <20070521022847.D679@10.0.0.1> <20070521195811.G56785@delplex.bde.org> <4651FCB5.7070604@FreeBSD.org> <20070521225032.C57233@delplex.bde.org> <20070522162819.N5249@besplex.bde.org> <20070522201336.C87981@besplex.bde.org> <46533CAD.8030104@FreeBSD.org> <4655C67A.9060000@FreeBSD.org> <46568A72.3020406@cs.rice.edu> In-Reply-To: <46568A72.3020406@cs.rice.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: Attilio Rao Cc: alc@freebsd.org, arch@freebsd.org, Jeff Roberson , Bruce Evans Subject: Re: sched_lock && thread_lock() X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: attilio@FreeBSD.org List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 May 2007 00:03:15 -0000 Alan Cox wrote: > Attilio Rao wrote: > >> Attilio Rao wrote: >> >>> Bruce Evans wrote: >>> >>>> 4 more translation errors breaking 8 counters altogether (v_vnodepgsin >>>> is broken twice): >>> >>> >>> Thanks a lot for the revision, there will be a pending patch in the >>> next hour. >> >> >> Hello, >> Let me know if this patch is right for you and if you have feedbacks, >> comments, etc: >> http://users.gufi.org/~rookie/works/patches/schedlock/vmmeter3.diff >> >> This should fix translation errors Bruce has found and switching the >> _SET() method in order to being a simple assignment (as Bruce has >> suggested). > > > I think there are still translation errors in vnode_pager.c: > > This increment by 1 of cnt.v_vnodepgsin is incorrect: ok, following the last suggestions I updated the patch. The URL is above. Thanks, Attilio