Home | History | Annotate | Download | only in include
History log of /src/sys/arch/sun2/include/param.h
RevisionDateAuthorComments
 1.16  31-May-2021  simonb Include "opt_param.h" (ifdef _KERNEL_OPT) everywhere that MSGBUFSIZE is
referenced since some sources include <machine/param.h>.
 1.15  11-Aug-2012  tsutsui branches: 1.15.56;
Poor sun2 has only 14MB KVA space so reduce NKMEMPAGES_MIN_DEFAULT and
NKMEMPAGES_MAX_DEFAULT values accordingly.

XXX: netbsd-6 GENERIC still gets "panic: pool_get: kmem-4096: page empty"
 1.14  10-Feb-2012  para branches: 1.14.2;
proper sizing of kmem_arena on different ports

PR port-i386/45946: Kernel locks up in VMEM system
 1.13  08-Feb-2011  rmind branches: 1.13.4; 1.13.8;
Remove clause 3 (UCB advertising clause) from the University of Utah
copyright. Confirmed by Mike Hibler, mike at cs.utah.edu - thanks!
Also, merge UCB and Utah copyright texts back into one, as they
originally were.

Extra verification by snj@.
 1.12  08-Feb-2010  joerg branches: 1.12.2; 1.12.4; 1.12.6;
Remove separate mb_map. The nmbclusters is computed at boot time based
on the amount of physical memory and limited by NMBCLUSTERS if present.
Architectures without direct mapping also limit it based on the kmem_map
size, which is used as backing store. On i386 and ARM, the maximum KVA
used for mbuf clusters is limited to 64MB by default.

The old default limits and limits based on GATEWAY have been removed.
key_registered_sb_max is hard-wired to a value derived from 2048
clusters.
 1.11  11-Dec-2009  tsutsui branches: 1.11.2;
Refactoring MD segment related definitions on m68k ports:
- move macro SEGSHIFT, NBSG, and SEGOFFSET from <machine/param.h>
to <machine/pmap.h> where they should belong
- don't use m68k_round_seg() and m68k_trunc_seg() in sun2 pmap sources
and instead define and use sun2_round_seg() and sun2_trunc_seg()
since they are quite pmap implementation dependent
 1.10  02-Jul-2008  ad Replce exec_map with a pool. Proposed on tech-kern@, reviewed by chs@.
 1.9  16-Mar-2007  tsutsui branches: 1.9.34; 1.9.38; 1.9.40; 1.9.42;
Bump MAXBSIZE to 0x4000 because 16KB could be used by default
on newfs(8) in these days and we'll get "buf mem pool index 5" panic
in sys/kern/vfs_bio.c.
 1.8  11-Dec-2005  christos branches: 1.8.24; 1.8.26; 1.8.30; 1.8.32; 1.8.34;
merge ktrace-lwp.
 1.7  23-Jan-2005  chs branches: 1.7.8;
move spl*() and IPL_* definitions from psl.h to intr.h.
 1.6  22-Jan-2005  chs de-__P, remove register, ansify, b* -> mem*, u_int*_t -> uint*_t.
 1.5  30-Oct-2003  mycroft branches: 1.5.8;
Set MAXPHYS to 0xe000.
XXX This really is the wrong way to do this.
 1.4  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.3  14-May-2001  fredette branches: 1.3.8; 1.3.18; 1.3.24;
Now always define PGSHIFT. Thanks to the ELF move, note the new
larger msgbuf size and different KERNBASE.
 1.2  10-Apr-2001  fredette branches: 1.2.2;
Define a very small UBC_NWINS to keep UBC from eating all kernel VM.
 1.1  29-Mar-2001  fredette Added.
 1.2.2.2  21-Apr-2001  bouyer Sync with HEAD
 1.2.2.1  10-Apr-2001  bouyer file param.h was added on branch thorpej_scsipi on 2001-04-21 17:54:52 +0000
 1.3.24.4  24-Jan-2005  skrll Sync with HEAD.
 1.3.24.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.3.24.2  18-Sep-2004  skrll Sync with HEAD.
 1.3.24.1  03-Aug-2004  skrll Sync with HEAD
 1.3.18.1  28-Jan-2004  jmc Pullup (via patch from fredette)
Identical to pullup 1453 for sun3. Clips MAXPHYS to 32k on sun2, as needed by the sc driver.
 1.3.8.2  14-May-2001  fredette Now always define PGSHIFT. Thanks to the ELF move, note the new
larger msgbuf size and different KERNBASE.
 1.3.8.1  14-May-2001  fredette file param.h was added on branch nathanw_sa on 2001-05-14 20:35:59 +0000
 1.5.8.1  29-Apr-2005  kent sync with -current
 1.7.8.1  03-Sep-2007  yamt sync with head.
 1.8.34.1  18-Mar-2007  reinoud First attempt to bring branch in sync with HEAD
 1.8.32.1  11-Jul-2007  mjf Sync with head.
 1.8.30.1  10-Apr-2007  ad Sync with head.
 1.8.26.1  24-Mar-2007  yamt sync with head.
 1.8.24.1  31-Mar-2007  bouyer Pull up following revision(s) (requested by tsutsui in ticket #527):
sys/arch/sun2/sun2/trap.c: revision 1.30
sys/arch/sun2/include/param.h: revision 1.9
sys/arch/sun2/sun2/machdep.c: revision 1.49
Pass proper args to ksyms_init().
Fix compile with options DIAGNOSTIC.
(Hmm, no one has tried it since nathanw_sa merge..)
Bump MAXBSIZE to 0x4000 because 16KB could be used by default
on newfs(8) in these days and we'll get "buf mem pool index 5" panic
in sys/kern/vfs_bio.c.
 1.9.42.1  03-Jul-2008  simonb Sync with head.
 1.9.40.1  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.9.38.2  11-Mar-2010  yamt sync with head
 1.9.38.1  04-May-2009  yamt sync with head.
 1.9.34.1  02-Jul-2008  mjf Sync with HEAD.
 1.11.2.1  30-Apr-2010  uebayasi Sync with HEAD.
 1.12.6.1  17-Feb-2011  bouyer Sync with HEAD
 1.12.4.1  06-Jun-2011  jruoho Sync with HEAD.
 1.12.2.1  05-Mar-2011  rmind sync with head
 1.13.8.1  18-Feb-2012  mrg merge to -current.
 1.13.4.2  30-Oct-2012  yamt sync with head
 1.13.4.1  17-Apr-2012  yamt sync with head
 1.14.2.1  13-Aug-2012  riz Pull up following revision(s) (requested by tsutsui in ticket #487):
sys/arch/sun3/include/param3.h: revision 1.55
sys/arch/sun3/include/param3.h: revision 1.56
sys/arch/sun2/include/param.h: revision 1.15
sys/arch/sun3/include/param.h: revision 1.61
sys/arch/sun3/include/param3x.h: revision 1.18
Poor sun3 (but not sun3x) has only 31MB KVM address space,
so reduce NKMEMPAGES_MAX_DEFAULT from 64MB to 16MB.
Fixes "panic: ubc_init: failed to map ubc_object" on
TME emulating 3/120 with >16MB RAM.
Should be pulled up to netbsd-6.
Poor sun2 has only 14MB KVA space so reduce NKMEMPAGES_MIN_DEFAULT and
NKMEMPAGES_MAX_DEFAULT values accordingly.
XXX: netbsd-6 GENERIC still gets "panic: pool_get: kmem-4096: page empty"
Also reduce UBC_NWINS from default 1024 to 512
to avoid possible KVA shortage, otherwise
"panic: ubc_init: failed to map ubc_object"
could still happen on netbsd-6 branch.
Should be pulled up to netbsd-6.
 1.15.56.1  17-Jun-2021  thorpej Sync w/ HEAD.

RSS XML Feed