-/* $OpenBSD: param.h,v 1.43 2019/03/24 06:19:26 visa Exp $ */
+/* $OpenBSD: param.h,v 1.44 2023/12/14 13:26:49 claudio Exp $ */
/*
* Copyright (c) 1988 University of Utah.
#define MSGBUFSIZE (2 * PAGE_SIZE) /* default message buffer size */
#endif
-/*
- * Maximum size of the kernel malloc arena in PAGE_SIZE-sized
- * logical pages.
- */
-#define NKMEMPAGES_MAX_DEFAULT ((128 * 1024 * 1024) >> PAGE_SHIFT)
-
#ifndef _LOCORE
#include <machine/intr.h>
-/* $OpenBSD: param.h,v 1.28 2019/12/23 21:42:01 bluhm Exp $ */
+/* $OpenBSD: param.h,v 1.29 2023/12/14 13:26:49 claudio Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
#define MSGBUFSIZE (32 * PAGE_SIZE) /* default message buffer size */
#endif
-/*
- * Maximum size of the kernel malloc arena in PAGE_SIZE-sized
- * logical pages.
- */
-#define NKMEMPAGES_MAX_DEFAULT ((128 * 1024 * 1024) >> PAGE_SHIFT)
-
#define __HAVE_ACPI
#endif /* _KERNEL */
-/* $OpenBSD: param.h,v 1.24 2018/09/14 13:58:20 claudio Exp $ */
+/* $OpenBSD: param.h,v 1.25 2023/12/14 13:26:49 claudio Exp $ */
/*
* Copyright (c) 1994,1995 Mark Brinicombe.
#define NMBCLUSTERS (32 * 1024) /* max cluster allocation */
-/*
- * Maximum size of the kernel malloc arena in PAGE_SIZE-sized
- * logical pages.
- */
-#define NKMEMPAGES_MAX_DEFAULT ((64 * 1024 * 1024) >> PAGE_SHIFT)
-
/* Constants used to divide the USPACE area */
/*
* The USPACE area contains :
-/* $OpenBSD: param.h,v 1.6 2018/09/14 13:58:20 claudio Exp $ */
+/* $OpenBSD: param.h,v 1.7 2023/12/14 13:26:49 claudio Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
#define MSGBUFSIZE (16 * PAGE_SIZE) /* default message buffer size */
#endif
-/*
- * Maximum size of the kernel malloc arena in PAGE_SIZE-sized
- * logical pages.
- */
-#define NKMEMPAGES_MAX_DEFAULT ((128 * 1024 * 1024) >> PAGE_SHIFT)
-
#define STACKALIGNBYTES (16 - 1)
#define STACKALIGN(p) ((u_long)(p) &~ STACKALIGNBYTES)
-/* $OpenBSD: param.h,v 1.48 2022/09/10 20:35:28 miod Exp $ */
+/* $OpenBSD: param.h,v 1.49 2023/12/14 13:26:49 claudio Exp $ */
/*
* Copyright (c) 1988-1994, The University of Utah and
#define MSGBUFSIZE (2 * PAGE_SIZE) /* default message buffer size */
#endif
-/*
- * Maximum size of the kernel malloc arena in PAGE_SIZE-sized
- * logical pages.
- */
-#define NKMEMPAGES_MAX_DEFAULT ((128 * 1024 * 1024) >> PAGE_SHIFT)
-
#endif /* _KERNEL */
#define MACHINE_STACK_GROWS_UP 1 /* stack grows to higher addresses */
-/* $OpenBSD: param.h,v 1.52 2023/11/08 18:59:01 mglocker Exp $ */
+/* $OpenBSD: param.h,v 1.53 2023/12/14 13:26:49 claudio Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
#define MSGBUFSIZE (8 * PAGE_SIZE) /* default message buffer size */
#endif
-/*
- * Maximum size of the kernel malloc arena in PAGE_SIZE-sized
- * logical pages.
- */
-#define NKMEMPAGES_MAX_DEFAULT ((128 * 1024 * 1024) >> PAGE_SHIFT)
-
#define __HAVE_ACPI
#endif /* _KERNEL */
-/* $OpenBSD: param.h,v 1.21 2018/09/14 13:58:20 claudio Exp $ */
+/* $OpenBSD: param.h,v 1.22 2023/12/14 13:26:49 claudio Exp $ */
/*
* Copyright (c) 1999 Steve Murphree, Jr.
#define MSGBUFSIZE PAGE_SIZE
#endif
-/*
- * Mmaximum size of the kernel malloc arena in PAGE_SIZE-sized
- * logical pages.
- */
-#define NKMEMPAGES_MAX_DEFAULT ((64 * 1024 * 1024) >> PAGE_SHIFT)
-
/*
* Get interrupt glue.
*/
-/* $OpenBSD: param.h,v 1.36 2018/09/14 13:58:20 claudio Exp $ */
+/* $OpenBSD: param.h,v 1.37 2023/12/14 13:26:49 claudio Exp $ */
/*
* Copyright (c) 1988 University of Utah.
#endif
#endif
-/*
- * Maximum size of the kernel malloc arena in PAGE_SIZE-sized
- * logical pages.
- */
-#define NKMEMPAGES_MAX_DEFAULT ((128 * 1024 * 1024) >> PAGE_SHIFT)
-
#ifndef _LOCORE
#define DELAY(n) delay(n)
void delay(int);
-/* $OpenBSD: param.h,v 1.38 2018/09/14 13:58:20 claudio Exp $ */
+/* $OpenBSD: param.h,v 1.39 2023/12/14 13:26:49 claudio Exp $ */
/*-
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
#define NMBCLUSTERS (32 * 1024) /* max cluster allocation */
-/*
- * Maximum size of the kernel malloc arena in PAGE_SIZE-sized
- * logical pages.
- */
-#define NKMEMPAGES_MAX_DEFAULT ((64 * 1024 * 1024) >> PAGE_SHIFT)
-
/*
* Fixed segments
*/
-/* $OpenBSD: param.h,v 1.1 2020/05/16 17:11:14 kettenis Exp $ */
+/* $OpenBSD: param.h,v 1.2 2023/12/14 13:26:49 claudio Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
#define MSGBUFSIZE (16 * PAGE_SIZE) /* default message buffer size */
#endif
-/*
- * Maximum size of the kernel malloc arena in PAGE_SIZE-sized
- * logical pages.
- */
-#define NKMEMPAGES_MAX_DEFAULT ((128 * 1024 * 1024) >> PAGE_SHIFT)
-
#define STACKALIGNBYTES (32 - 1)
#define STACKALIGN(p) ((u_long)(p) &~ STACKALIGNBYTES)
-/* $OpenBSD: param.h,v 1.4 2021/06/16 12:00:15 jsg Exp $ */
+/* $OpenBSD: param.h,v 1.5 2023/12/14 13:26:49 claudio Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
#define MSGBUFSIZE (16 * PAGE_SIZE) /* default message buffer size */
#endif
-/*
- * Maximum size of the kernel malloc arena in PAGE_SIZE-sized
- * logical pages.
- */
-#define NKMEMPAGES_MAX_DEFAULT ((128 * 1024 * 1024) >> PAGE_SHIFT)
-
#define STACKALIGNBYTES (16 - 1)
#define STACKALIGN(p) ((u_long)(p) &~ STACKALIGNBYTES)
-/* $OpenBSD: param.h,v 1.13 2018/09/14 13:58:20 claudio Exp $ */
+/* $OpenBSD: param.h,v 1.14 2023/12/14 13:26:49 claudio Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc. All rights reserved.
#define MSGBUFSIZE PAGE_SIZE /* default message buffer size */
#endif
-/*
- * Maximum size of the kernel malloc arena in PAGE_SIZE-sized
- * logical pages.
- */
-#define NKMEMPAGES_MAX_DEFAULT ((64 * 1024 * 1024) >> PAGE_SHIFT)
-
#endif /* _KERNEL */
#endif /* _SH_PARAM_H_ */
-/* $OpenBSD: param.h,v 1.41 2018/09/14 13:58:20 claudio Exp $ */
+/* $OpenBSD: param.h,v 1.42 2023/12/14 13:26:49 claudio Exp $ */
/*
* Copyright (c) 1992, 1993
#define MSGBUFSIZE (1 * PAGE_SIZE)
#endif
-/*
- * Maximum size of the kernel malloc arena in PAGE_SIZE-sized
- * logical pages.
- */
-#define NKMEMPAGES_MAX_DEFAULT ((128 * 1024 * 1024) >> PAGE_SHIFT)
-
#ifndef _LOCORE
extern void delay(unsigned int);