From owner-cvs-all Mon Aug 20 14:31:14 2001 Delivered-To: cvs-all@freebsd.org Received: from earth.backplane.com (earth-nat-cw.backplane.com [208.161.114.67]) by hub.freebsd.org (Postfix) with ESMTP id 546EB37B40C; Mon, 20 Aug 2001 14:31:05 -0700 (PDT) (envelope-from dillon@earth.backplane.com) Received: (from dillon@localhost) by earth.backplane.com (8.11.4/8.11.2) id f7KLV4A56429; Mon, 20 Aug 2001 14:31:04 -0700 (PDT) (envelope-from dillon) Date: Mon, 20 Aug 2001 14:31:04 -0700 (PDT) From: Matt Dillon Message-Id: <200108202131.f7KLV4A56429@earth.backplane.com> To: Jordan Hubbard , John Baldwin Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: RE: cvs commit: src/sys/boot/common loader.8 src/sys/conf op References: Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG :.. :>:> sys/kern subr_param.c :>:> sys/sys buf.h :>:> sys/vm swap_pager.c :>:> Log: :>: :>:Erm, alpha and ia64? (A heads up to the lists to give people a chance to :>:come up with the missing pieces and get them to you prior to commit would :>:have :>:been nice.) :>: :>:-- :>: :>:John Baldwin -- http://www.FreeBSD.org/~jhb/ :>:PGP Key: http://www.baldwin.cx/~john/pgpkey.asc :>:"Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ :> :> I just comitted a followup to subr_param.c that should allow the :> whole thing to compile with other platforms, even if limits are not :> defined (and bootloader limits work either way for the swapmeta). The :> buffer_map code is still MD and I think I am going to solve that by :> taking :> that whole chunk of code that's repeated over and over again and turning :> it into an MI call. : :Ok. Just for future reference, a quick note off to -alpha and -ia64 isn't that :hard to do. :-) :-- : :John Baldwin -- http://www.FreeBSD.org/~jhb/ In the mean-time I would like to propose a second less controversial patch that should get the 4G machines to boot, and that is to take a small piece of my original patch and submit it separately. This solved Mohan's issue with his 2G box and may just solve the same issue with a 4G box (barring changes to other kernel options). If I could get this fast-tracked then the more involved patch's MFC can wait until after the release. Here it is: -Matt Index: swap_pager.c =================================================================== RCS file: /home/ncvs/src/sys/vm/swap_pager.c,v retrieving revision 1.130.2.8 diff -u -r1.130.2.8 swap_pager.c --- swap_pager.c 2001/03/24 20:28:24 1.130.2.8 +++ swap_pager.c 2001/08/20 21:28:40 @@ -303,7 +303,7 @@ * can hold 16 pages, so this is probably overkill. */ - n = cnt.v_page_count * 2; + n = cnt.v_page_count; swap_zone = zinit( "SWAPMETA", To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message