From owner-freebsd-stable Sat Jul 28 8:58:17 2001 Delivered-To: freebsd-stable@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 293C237B403; Sat, 28 Jul 2001 08:58:14 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id f6SFwCF76127; Sat, 28 Jul 2001 09:58:13 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.11.3/8.11.4) with ESMTP id f6SFwCw22612; Sat, 28 Jul 2001 09:58:12 -0600 (MDT) (envelope-from imp@harmony.village.org) Message-Id: <200107281558.f6SFwCw22612@harmony.village.org> To: Mike Smith Subject: Re: FreeBSD 4.3 and 6G RAM Cc: freebsd-stable@FreeBSD.ORG In-reply-to: Your message of "Sat, 21 Jul 2001 14:39:30 PDT." <200107212139.f6LLdVm01080@mass.dis.org> References: <200107212139.f6LLdVm01080@mass.dis.org> Date: Sat, 28 Jul 2001 09:58:12 -0600 From: Warner Losh Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <200107212139.f6LLdVm01080@mass.dis.org> Mike Smith writes: : > Can the NetBSD stuff be fairly easily ported to FreeBSD, or is their VM : > system too funky? : : It's just different. But no, the NetBSD work doesn't immediately : translate. The work that NetBSD did for ka64 isn't directly translatable either since the pae support appears to be in the ka64 pmap. Their i386 (aka ia32) pmap doesn't support this yet. At least I'm not seeing 64bit addresses and the like in my viewing of the code. It does look like the ka64 pmap does have what you need, but my gut tells me that it would be hard to port to NetBSD/i386's pmap. Or at least labor intensive. However, there's a further wrinkle with NetBSD. Its bus_space_dma macros are more advanced than FreeBSD's when it comes to network drivers. All its network drivers use them (nearly all), while almost none (none?) of FreeBSD's drivers use our bus_space_dma macros. So we'd have to rewrite all of them (well, the pci ones) to handle running in 36 bits. And there are likely other issues as well that will surprise us on any port. It is a big can of worms that no one has yet tackled. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message