From owner-svn-src-all@FreeBSD.ORG Sun Jul 25 06:18:09 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 59FB21065675; Sun, 25 Jul 2010 06:18:09 +0000 (UTC) (envelope-from c.jayachandran@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id D6B028FC0A; Sun, 25 Jul 2010 06:18:08 +0000 (UTC) Received: by vws7 with SMTP id 7so1876352vws.13 for ; Sat, 24 Jul 2010 23:18:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=+zdgizGHx9ARTqC9LVWsgM4LmVqK6LzUf1HgL4YJt+s=; b=mKeZ2zQ3Ns629OvPO6+L0fMWX11hdgyRTyOSv0kVeZ18ZTO7FfutPBail1d7QoW0P/ KUcYoh5imqt5NvD3KyZl2i0aymXQ6bM9L1nWVboe+JsGdhKjkIKwo9Ny2EA+sy4hk7mv RD2qH4XIxwH76oUdxzyzorVDKuXDatDYMwKB0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=mCK1RDKdsRbSoM8JHfUNg8tJDuPGpYrCiI3YPN7bdW6eiJZpemCkFLDYb1T1f/cd6q N72EukhBI6UVa70ln/0fsocGNH1Um6e217gOnNXe5+Xqcao8gO+le1Espz/VuV51xfE0 nnBNkA1cM3akdxFWvrkOUHte5KaJoPhjaTBSE= MIME-Version: 1.0 Received: by 10.220.63.12 with SMTP id z12mr3108258vch.184.1280038687752; Sat, 24 Jul 2010 23:18:07 -0700 (PDT) Received: by 10.220.195.11 with HTTP; Sat, 24 Jul 2010 23:18:07 -0700 (PDT) In-Reply-To: <4C4BC213.5060001@cs.rice.edu> References: <201007250419.o6P4J50q033283@svn.freebsd.org> <4C4BC213.5060001@cs.rice.edu> Date: Sun, 25 Jul 2010 11:48:07 +0530 Message-ID: From: "Jayachandran C." To: Warner Losh Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Alan Cox Subject: Re: svn commit: r210460 - head/sys/mips/include X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jul 2010 06:18:09 -0000 On Sun, Jul 25, 2010 at 10:18 AM, Alan Cox wrote: > Warner Losh wrote: >> >> Author: imp >> Date: Sun Jul 25 04:19:05 2010 >> New Revision: 210460 >> URL: http://svn.freebsd.org/changeset/base/210460 >> >> Log: >> =A0Get N64 building by defining VM_FREELIST_DIRECT to be >> =A0VM_FREELIST_DEFAULT. =A0I believe this is correct, since KX is set in >> =A0n64, and thus all RAM can be direct mapped. Thanks, this is something I missed in my MIPS page table changes. > > Yes, it is. In MIPS 64bit, whole physical memory is direct mapped thru a XKPHYS region. We can use vm_page_alloc() for pmap_alloc_pte_page() and VM_WAIT for pmap_grow_pte_page_cache(), is this something we should consider? Thanks JC.