cvs commit: src/sys/kern subr_param.c

Kris Kennaway kris at FreeBSD.org
Fri Oct 14 12:15:10 PDT 2005


kris        2005-10-14 19:15:10 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             subr_param.c 
  Log:
  Partially revert revision 1.66, which contained a change that did not
  correspond to the commit log.  It changed the maxswzone and maxbcache
  parameters from int to long, without changing the extern definitions
  in <sys/buf.h>.
  
  In fact it's a good thing it did not, because other parts of the system
  are not yet ready for this, and on large-memory sparc machines it causes
  severe filesystem damage if you try.
  
  The worst effect of the change was that the tunables controlling the
  above variables stopped working.  These were necessary to allow such
  large sparc64 machines (with >12GB RAM) to boot, since sparc64 did not
  set a hard-coded upper limit on these parameters and they ended
  up overflowing an int, causing an infinite loop at boot in bufinit().
  
  Reviewed by:    mlaier
  
  Revision  Changes    Path
  1.72      +4 -4      src/sys/kern/subr_param.c


More information about the cvs-src mailing list