From owner-cvs-src@FreeBSD.ORG Mon Oct 30 21:13:56 2006 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B313616A4E1; Mon, 30 Oct 2006 21:13:56 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD48943D64; Mon, 30 Oct 2006 21:13:51 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.6/8.13.6) with ESMTP id k9ULDkXH082264; Mon, 30 Oct 2006 16:13:49 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: Ruslan Ermilov Date: Mon, 30 Oct 2006 16:12:41 -0500 User-Agent: KMail/1.9.1 References: <200610291450.k9TEowL4034801@repoman.freebsd.org> <200610301155.55597.jhb@freebsd.org> <20061030210442.GB27957@rambler-co.ru> In-Reply-To: <20061030210442.GB27957@rambler-co.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200610301612.42357.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Mon, 30 Oct 2006 16:13:49 -0500 (EST) X-Virus-Scanned: ClamAV 0.88.3/2132/Mon Oct 30 14:42:34 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/boot/common load_elf.c src/sys/boot/i386/boot2 boot2.c src/sys/boot/i386/libi386 elf32_freebsd.c src/sys/boot/pc98/boot2 boot.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Oct 2006 21:13:56 -0000 On Monday 30 October 2006 16:04, Ruslan Ermilov wrote: > On Mon, Oct 30, 2006 at 11:55:54AM -0500, John Baldwin wrote: > > On Sunday 29 October 2006 09:50, Ruslan Ermilov wrote: > > > ru 2006-10-29 14:50:58 UTC > > > > > > FreeBSD src repository > > > > > > Modified files: > > > sys/boot/common load_elf.c > > > sys/boot/i386/boot2 boot2.c > > > sys/boot/i386/libi386 elf32_freebsd.c > > > sys/boot/pc98/boot2 boot.c > > > Log: > > > Because the BTX mini-kernel now uses flat memory mode and clients > > > are no longer limited to a virtual address space of 16 megabytes, > > > only mask high two bits of a virtual address. This allows to load > > > larger kernels (up to 1 gigabyte). Not masking addresses at all > > > was a bad idea on machines with less than >3G of memory -- kernels > > > are linked at 0xc0xxxxxx, and that would attempt to load a kernel > > > at above 3G. By masking only two highest bits we stay within the > > > safe limits while still allowing to boot larger kernels. > > > > > > (This is a safer reimplmentation of sys/boot/i386/boot2/boot.2.c > > > rev. 1.71.) > > > > > > Prodded by: jhb > > > Tested by: nyan (pc98) > > > > Thanks! > > > Do you think it would be a good idea to MFC this in time for 6.2? I think so, but see my other e-mail, I think it should mask 4 bits rather than just 2. -- John Baldwin