#
569905a9 |
| 14-Dec-2023 |
claudio <claudio@openbsd.org> |
NKMEMPAGES_MAX_DEFAULT is no longer used. Remove it from param.h. OK miod@
|
#
965127f8 |
| 14-Sep-2018 |
claudio <claudio@openbsd.org> |
Unify and bump some of the NMBCLUSTERS defines. Some archs had it set to 4MB which is far too low especially when the platform is able to run MP. New limits are, amd64 = 256M; arm64, mips64, sparc64
Unify and bump some of the NMBCLUSTERS defines. Some archs had it set to 4MB which is far too low especially when the platform is able to run MP. New limits are, amd64 = 256M; arm64, mips64, sparc64 = 64M; alpha, arm, hppa, i386, powerpc = 32M; m88k, sh = 8M Still rather conservative numbers but much better than before. At least some hangs of arm64 build boxes was caused by this. OK kettenis@, visa@
show more ...
|
#
29ae43e0 |
| 03-Sep-2016 |
bluhm <bluhm@openbsd.org> |
Increase the number of mbufs on most architectures. This is based on a guess how much memory a typical machine has. If the value is too high, users may run out of kernel memory. Then we will have
Increase the number of mbufs on most architectures. This is based on a guess how much memory a typical machine has. If the value is too high, users may run out of kernel memory. Then we will have to adjust this again. OK claudio@ deraadt@
show more ...
|
#
8d365b1e |
| 02-Nov-2015 |
miod <miod@openbsd.org> |
Only define KERNBASE if defined(_KERNEL), for nothing in userland needs it, and only if not already defined. Allows for KERNBASE to be defined elsewhere.
|
#
12595cf0 |
| 26-Mar-2013 |
deraadt <deraadt@openbsd.org> |
PGSHIFT and PGOFSET are now contained inside the kernel namespace.
|
#
c875ba1b |
| 25-Mar-2013 |
deraadt <deraadt@openbsd.org> |
ALIGNBYTES/ALIGN/ALIGNED_POINTER can move to the MI file.
|
#
184e2458 |
| 23-Mar-2013 |
deraadt <deraadt@openbsd.org> |
refactor sys/param.h and machine/param.h. A lot of #ifdef _KERNEL is added to keep definitions our of user space. The MD files now follow a consistant order -- all namespace intrusion is at the tai
refactor sys/param.h and machine/param.h. A lot of #ifdef _KERNEL is added to keep definitions our of user space. The MD files now follow a consistant order -- all namespace intrusion is at the tail can be cleaned up independently. locore, bootblocks, and libkvm still see enough visibility to build. Checked on 90% of platforms...
show more ...
|
#
28644381 |
| 08-Sep-2011 |
guenther <guenther@openbsd.org> |
Provide namespace-safe alignment macros in <machine/_types.h>, with compat names kept in <machine/param.h>. In <sys/socket.h>, pull in <sys/_types.h> instead of the namespace polluting <machine/para
Provide namespace-safe alignment macros in <machine/_types.h>, with compat names kept in <machine/param.h>. In <sys/socket.h>, pull in <sys/_types.h> instead of the namespace polluting <machine/param.h> and completely eliminate __CMSG_ALIGN, replaced by _ALIGN
ok deraadt@
show more ...
|
#
b5fae429 |
| 07-Apr-2011 |
miod <miod@openbsd.org> |
Make sure the ALIGN() macro uses u_long on all platforms for consistency, and update the comment block accordingly.
|
#
2fa72412 |
| 23-Mar-2011 |
pirofti <pirofti@openbsd.org> |
Normalize sentinel. Use _MACHINE_*_H_ and _<ARCH>_*_H_ properly and consitently.
Discussed and okay drahn@. Okay deraadt@.
|
#
8f8c9b7e |
| 28-Nov-2010 |
miod <miod@openbsd.org> |
Update comment to no longer mention a page is 4KB, since this may not be the case.
|
#
54052906 |
| 13-Dec-2009 |
deraadt <deraadt@openbsd.org> |
bit less aggressive about hiding; ok miod
|
#
146b49df |
| 12-Dec-2009 |
miod <miod@openbsd.org> |
Protect more definitions userland doesn't need to care about with _KERNEL
|
#
16347386 |
| 12-Dec-2009 |
miod <miod@openbsd.org> |
Switch page size from 4KB to 16KB on R10k kernels without R5k support (i.e. IP27 and IP30 sgi kernels).
|
#
2abb778b |
| 08-Dec-2009 |
miod <miod@openbsd.org> |
Use a whole page for msgbuf if page size is larger than 4KB, instead of the current 8KB.
|
#
f1bb116b |
| 07-Dec-2009 |
miod <miod@openbsd.org> |
Support for 16KB page size kernels; page size is now set in <machine/param.h> rather than <mips64/param.h>.
For now, kernels are kept at 4KB to give people some time to build 16KB compatible binarie
Support for 16KB page size kernels; page size is now set in <machine/param.h> rather than <mips64/param.h>.
For now, kernels are kept at 4KB to give people some time to build 16KB compatible binaries; this will change before the end of this release cycle.
Use of 16KB page size kernels yields a 18% speedup (which, offset by the 1.6% slowdown caused by the pmap changes, yields a 16.6% overall speedup).
show more ...
|
#
eb44e751 |
| 07-Dec-2009 |
miod <miod@openbsd.org> |
Use a pool to manage pmap pte pages and top level segment table, instead of directly allocating pages from uvm; this will allow us to eventually use a different kernel page size without having to alt
Use a pool to manage pmap pte pages and top level segment table, instead of directly allocating pages from uvm; this will allow us to eventually use a different kernel page size without having to alter the pmap structures layout. No functional change; measured slowdown of 1.6% for 4KB page kernels.
show more ...
|
#
c74138ca |
| 22-May-2009 |
miod <miod@openbsd.org> |
Drop almost unused <machine/psl.h> on sgi; move USERMODE() definition from there to trap.c which is its only user. This also cleans up multiple inclusion of <machine/cpu.h> (because <machine/psl.h> i
Drop almost unused <machine/psl.h> on sgi; move USERMODE() definition from there to trap.c which is its only user. This also cleans up multiple inclusion of <machine/cpu.h> (because <machine/psl.h> includes it) in many places.
show more ...
|
#
6d38451c |
| 06-May-2009 |
miod <miod@openbsd.org> |
Fix signedness of comparison used to know whether we have already reached the next scheduled clock interrupt; the comparison would before always be true, causing the clock to really run at hz/2.
Whi
Fix signedness of comparison used to know whether we have already reached the next scheduled clock interrupt; the comparison would before always be true, causing the clock to really run at hz/2.
While there, remove unused nanodelay() and attempt to clean clock initialization a bit.
show more ...
|
#
dc41bb13 |
| 04-May-2008 |
martin <martin@openbsd.org> |
convert arm and mips64 platforms to ptoa/atop
tested by maja@
|
#
6319a00c |
| 28-May-2007 |
thib <thib@openbsd.org> |
Move the MSIZE, MCLSHIFT, MCLBYTES and the MCLOFSET mbuf constants from MD param.h to MI param.h. Besides being the same on every arch, things will most probly break if any arch has different values
Move the MSIZE, MCLSHIFT, MCLBYTES and the MCLOFSET mbuf constants from MD param.h to MI param.h. Besides being the same on every arch, things will most probly break if any arch has different values then the others.
The NMBCLUSTERS constants needs to be MD though;
ok miod@,krw@,claudio@
show more ...
|
#
6b34b890 |
| 16-Apr-2007 |
miod <miod@openbsd.org> |
Crank MAXPHYS to the regular 64KB.
|
#
fb57eac1 |
| 05-Apr-2007 |
deraadt <deraadt@openbsd.org> |
delete userland DELAY() version; ok miod
|
#
00b3583f |
| 19-Mar-2006 |
martin <martin@openbsd.org> |
remove unused bdbtofsb(bn) macro
found by drahn@
|
#
0c6b8c50 |
| 14-Jan-2006 |
miod <miod@openbsd.org> |
Revert 1.12 and go back to 32K MAXPHYS; 64k MAXPHYS exposes subtle bugs and is not reliable enough.
|