Date: Sun, 25 Jul 2010 05:26:29 -0600 (MDT) From: "M. Warner Losh" <imp@bsdimp.com> To: c.jayachandran@gmail.com Cc: mips@freebsd.org, alc@cs.rice.edu Subject: Re: svn commit: r210460 - head/sys/mips/include Message-ID: <20100725.052629.160100930644600654.imp@bsdimp.com> In-Reply-To: <AANLkTik%2BBV6u6fNVX8Ntb-G1yF=vEDh6VqB7Xcb5VtD-@mail.gmail.com> References: <201007250419.o6P4J50q033283@svn.freebsd.org> <4C4BC213.5060001@cs.rice.edu> <AANLkTik%2BBV6u6fNVX8Ntb-G1yF=vEDh6VqB7Xcb5VtD-@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In message: <AANLkTik+BV6u6fNVX8Ntb-G1yF=3DvEDh6VqB7Xcb5VtD-@mail.gmail= .com> "Jayachandran C." <c.jayachandran@gmail.com> writes: : On Sun, Jul 25, 2010 at 10:18 AM, Alan Cox <alc@cs.rice.edu> 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? Likely. Any idea what kind of performance difference this would buy us? Warner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100725.052629.160100930644600654.imp>