History log of /openbsd-current/sys/arch/sh/include/param.h
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.14 14-Dec-2023 claudio

NKMEMPAGES_MAX_DEFAULT is no longer used. Remove it from param.h.
OK miod@


Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE OPENBSD_7_2_BASE OPENBSD_7_3_BASE OPENBSD_7_4_BASE
# 1.13 14-Sep-2018 claudio

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@


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE
# 1.12 03-Sep-2016 bluhm

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@


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.11 26-Mar-2013 deraadt

PGSHIFT and PGOFSET are now contained inside the kernel namespace.


# 1.10 25-Mar-2013 deraadt

ALIGNBYTES/ALIGN/ALIGNED_POINTER can move to the MI file.


# 1.9 23-Mar-2013 deraadt

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...


Revision tags: OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.8 08-Sep-2011 guenther

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@


Revision tags: OPENBSD_5_0_BASE
# 1.7 07-Apr-2011 miod

Make sure the ALIGN() macro uses u_long on all platforms for consistency, and
update the comment block accordingly.


# 1.6 23-Mar-2011 pirofti

Normalize sentinel. Use _MACHINE_*_H_ and _<ARCH>_*_H_ properly and consitently.

Discussed and okay drahn@. Okay deraadt@.


Revision tags: OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE
# 1.5 04-May-2008 martin

convert to ptoa/atop

tested by maja@


Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE
# 1.4 28-May-2007 thib

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@


Revision tags: OPENBSD_4_1_BASE
# 1.3 03-Mar-2007 miod

Kernel crash dumps and associated libkvm bits for landisk.


# 1.2 03-Nov-2006 drahn

For now use 3 pages like netbsd, allows the kernel to get _MUCH_ farther.
I suspect this is really a bug in the P1_STACK code path.


# 1.1 06-Oct-2006 miod

branches: 1.1.1;
Initial revision


# 1.13 14-Sep-2018 claudio

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@


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE
# 1.12 03-Sep-2016 bluhm

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@


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.11 26-Mar-2013 deraadt

PGSHIFT and PGOFSET are now contained inside the kernel namespace.


# 1.10 25-Mar-2013 deraadt

ALIGNBYTES/ALIGN/ALIGNED_POINTER can move to the MI file.


# 1.9 23-Mar-2013 deraadt

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...


Revision tags: OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.8 08-Sep-2011 guenther

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@


Revision tags: OPENBSD_5_0_BASE
# 1.7 07-Apr-2011 miod

Make sure the ALIGN() macro uses u_long on all platforms for consistency, and
update the comment block accordingly.


# 1.6 23-Mar-2011 pirofti

Normalize sentinel. Use _MACHINE_*_H_ and _<ARCH>_*_H_ properly and consitently.

Discussed and okay drahn@. Okay deraadt@.


Revision tags: OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE
# 1.5 04-May-2008 martin

convert to ptoa/atop

tested by maja@


Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE
# 1.4 28-May-2007 thib

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@


Revision tags: OPENBSD_4_1_BASE
# 1.3 03-Mar-2007 miod

Kernel crash dumps and associated libkvm bits for landisk.


# 1.2 03-Nov-2006 drahn

For now use 3 pages like netbsd, allows the kernel to get _MUCH_ farther.
I suspect this is really a bug in the P1_STACK code path.


# 1.1 06-Oct-2006 miod

branches: 1.1.1;
Initial revision


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.12 03-Sep-2016 bluhm

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@


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.11 26-Mar-2013 deraadt

PGSHIFT and PGOFSET are now contained inside the kernel namespace.


# 1.10 25-Mar-2013 deraadt

ALIGNBYTES/ALIGN/ALIGNED_POINTER can move to the MI file.


# 1.9 23-Mar-2013 deraadt

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...


Revision tags: OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.8 08-Sep-2011 guenther

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@


Revision tags: OPENBSD_5_0_BASE
# 1.7 07-Apr-2011 miod

Make sure the ALIGN() macro uses u_long on all platforms for consistency, and
update the comment block accordingly.


# 1.6 23-Mar-2011 pirofti

Normalize sentinel. Use _MACHINE_*_H_ and _<ARCH>_*_H_ properly and consitently.

Discussed and okay drahn@. Okay deraadt@.


Revision tags: OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE
# 1.5 04-May-2008 martin

convert to ptoa/atop

tested by maja@


Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE
# 1.4 28-May-2007 thib

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@


Revision tags: OPENBSD_4_1_BASE
# 1.3 03-Mar-2007 miod

Kernel crash dumps and associated libkvm bits for landisk.


# 1.2 03-Nov-2006 drahn

For now use 3 pages like netbsd, allows the kernel to get _MUCH_ farther.
I suspect this is really a bug in the P1_STACK code path.


# 1.1 06-Oct-2006 miod

branches: 1.1.1;
Initial revision