Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Aug 2001 14:31:04 -0700 (PDT)
From:      Matt Dillon <dillon@earth.backplane.com>
To:        Jordan Hubbard <jkh@FreeBSD.ORG>, John Baldwin <jhb@FreeBSD.ORG>
Cc:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: RE: cvs commit: src/sys/boot/common loader.8 src/sys/conf op
Message-ID:  <200108202131.f7KLV4A56429@earth.backplane.com>
References:   <XFMail.010820142454.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

:..
:>:>     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 <jhb@FreeBSD.org> -- 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 <jhb@FreeBSD.org> -- 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108202131.f7KLV4A56429>