From owner-freebsd-mips@FreeBSD.ORG Thu Aug 9 15:36:31 2012 Return-Path: Delivered-To: mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5D8F71065672 for ; Thu, 9 Aug 2012 15:36:31 +0000 (UTC) (envelope-from c.jayachandran@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id E46B68FC16 for ; Thu, 9 Aug 2012 15:36:30 +0000 (UTC) Received: by weyx56 with SMTP id x56so471289wey.13 for ; Thu, 09 Aug 2012 08:36:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=E2ZwIZUTh2xO/m0mxCMdV34QCB/QcTZQGcM/fve2X8s=; b=P584eVBp2wD/VQzyyXXGcNFsKCud4RHNLwSODkHuAaEp2xcb4v8x8NwKa9jKQ8q0v8 /2G6K8fq9Y40sXUpLp2blxraifqNiurSv8jTZoaDRZJSZKVyACq72CvYcqrpHK9v+MYZ mgGYOwkCjpvpiUFEN2g0CEHxUnNoqtCarfPWOvpF4Tb5Xpw0uOfiqTXnMl1Yz4y1A+YO G2SZwkMvqCfK/x4T45fSC4R8Z3o/ePgPG1ZzsLpG8luJcPIQc+vscMcgYpnqZQPyAhgK odkDSnSxSRP3yHUWK9ngoF8Ymid6f1QIVKqvJC+FDxbOc7kL0xtm1/P9omUr4Zuk/94E /d1A== MIME-Version: 1.0 Received: by 10.216.162.141 with SMTP id y13mr11647992wek.14.1344526589550; Thu, 09 Aug 2012 08:36:29 -0700 (PDT) Received: by 10.216.153.42 with HTTP; Thu, 9 Aug 2012 08:36:29 -0700 (PDT) In-Reply-To: <50228F5C.1000408@rice.edu> References: <50228F5C.1000408@rice.edu> Date: Thu, 9 Aug 2012 21:06:29 +0530 Message-ID: From: "Jayachandran C." To: Alan Cox Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: mips@freebsd.org Subject: Re: mips pmap patch X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Aug 2012 15:36:31 -0000 On Wed, Aug 8, 2012 at 9:40 PM, Alan Cox wrote: > Can someone please test this patch? It applies some changes to the mips > pmap that were made a long time ago to the amd64 and i386 pmaps. In > particular, it reduces the size of a pv entry. > > Briefly, the big picture is that in order to move forward with further > locking refinements to the VM system's machine-independent layer, I need to > eliminate all uses of the page queues lock from every pmap. In order to > remove the page queues lock from the mips pmap, I need to port the new pv > entry allocator from the amd64 and i386 pmaps. This patch is preparation > for that. Tested the patch on XLP for about an hour ('make -j 64 buildworld' on 32 cpu mips64) and did not see any issues. JC.