Date: Mon, 05 Mar 2001 21:30:20 -0800 From: Peter Wemm <peter@netplex.com.au> To: John Baldwin <jhb@FreeBSD.ORG> Cc: Doug Rabson <dfr@nlsystems.com>, ia64@FreeBSD.ORG, Andrew Gallatin <gallatin@cs.duke.edu> Subject: Re: Grrrr.. Message-ID: <200103060530.f265UKh59200@mobile.wemm.org> In-Reply-To: <XFMail.010304160013.jhb@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
John Baldwin wrote: > > On 04-Mar-01 Doug Rabson wrote: > > On Fri, 2 Mar 2001, John Baldwin wrote: > > > >> > >> On 02-Mar-01 Andrew Gallatin wrote: > >> > > >> > Doug Rabson writes: > >> > > > >> > > I remember now. I always intended to redo pmap_map() via the > >> > > direct-mapped > >> > > segments. This saves kernel virtual address space (of which there is > >> > > plenty) but more importantly saves TLB entries and on ia64 VHTP > >> > > entries. I > >> > > just hacked up this patch which isn't tested on anything but I think > >> > > its > >> > > on the right lines. Beware of conflicts - Drew Gallatin is working in > >> > > this > >> > > area. > >> > > > >> > > >> > I'm done now (and your latest patch at the top of this thread > >> > incorporates my committed changes). > >> > > >> > I really like using the direct-mapped segment for this. > >> > >> I'm going to test this out on my alpha and i386 test boxes here at work. > >> If it works there, I think it should probably be committed. Not that I > >> am overwhelmed with pmap Clue atm. :) > > > > Well I'm happy with the patch on ia64 and alpha. If you don't get any > > problems on i386, I think it should be committed. Perhaps you could do the > > honours? > > Heh, I guess you haven't seen my other e-mail yet. My x86 box didn't make it > back to multiuser. At least, I can't ping the box after rebooting it with the > new kernel. I'll probably drive in and see if I can't get it quickly fixed. > My alpha is fine with it however. Untested: change vm_page_startup() from "return (mapped)" to "return (vaddr)" as we have accidently changed the return value of vm_page_startup(). Before, we returned the next free page address. After the diff, it is returning the VA of the beginning of the last mapping. Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ia64" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103060530.f265UKh59200>