From: claudio Date: Thu, 14 Dec 2023 13:26:49 +0000 (+0000) Subject: NKMEMPAGES_MAX_DEFAULT is no longer used. Remove it from param.h. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=569905a93af9a15cee7b4700af2b6e98927b2179;p=openbsd NKMEMPAGES_MAX_DEFAULT is no longer used. Remove it from param.h. OK miod@ --- diff --git a/sys/arch/alpha/include/param.h b/sys/arch/alpha/include/param.h index b1e67f531c7..73416aa0b27 100644 --- a/sys/arch/alpha/include/param.h +++ b/sys/arch/alpha/include/param.h @@ -1,4 +1,4 @@ -/* $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. @@ -71,12 +71,6 @@ #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 diff --git a/sys/arch/amd64/include/param.h b/sys/arch/amd64/include/param.h index 2d2d5e66c21..958c41ecb11 100644 --- a/sys/arch/amd64/include/param.h +++ b/sys/arch/amd64/include/param.h @@ -1,4 +1,4 @@ -/* $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. @@ -73,12 +73,6 @@ #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 */ diff --git a/sys/arch/arm/include/param.h b/sys/arch/arm/include/param.h index ed06b9e5a88..150c72ee6d5 100644 --- a/sys/arch/arm/include/param.h +++ b/sys/arch/arm/include/param.h @@ -1,4 +1,4 @@ -/* $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. @@ -57,12 +57,6 @@ #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 : diff --git a/sys/arch/arm64/include/param.h b/sys/arch/arm64/include/param.h index 06eefdee8ec..74792d7c8e5 100644 --- a/sys/arch/arm64/include/param.h +++ b/sys/arch/arm64/include/param.h @@ -1,4 +1,4 @@ -/* $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. @@ -69,12 +69,6 @@ #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) diff --git a/sys/arch/hppa/include/param.h b/sys/arch/hppa/include/param.h index 355b349c6fd..d4a8bc0e14b 100644 --- a/sys/arch/hppa/include/param.h +++ b/sys/arch/hppa/include/param.h @@ -1,4 +1,4 @@ -/* $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 @@ -57,12 +57,6 @@ #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 */ diff --git a/sys/arch/i386/include/param.h b/sys/arch/i386/include/param.h index eabc86c62b3..d918f29ba5a 100644 --- a/sys/arch/i386/include/param.h +++ b/sys/arch/i386/include/param.h @@ -1,4 +1,4 @@ -/* $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. @@ -73,12 +73,6 @@ #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 */ diff --git a/sys/arch/m88k/include/param.h b/sys/arch/m88k/include/param.h index c940a9ce5b6..6c0fa23e772 100644 --- a/sys/arch/m88k/include/param.h +++ b/sys/arch/m88k/include/param.h @@ -1,4 +1,4 @@ -/* $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. @@ -70,12 +70,6 @@ #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. */ diff --git a/sys/arch/mips64/include/param.h b/sys/arch/mips64/include/param.h index b789d9c0007..e7be78b4e77 100644 --- a/sys/arch/mips64/include/param.h +++ b/sys/arch/mips64/include/param.h @@ -1,4 +1,4 @@ -/* $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. @@ -72,12 +72,6 @@ #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); diff --git a/sys/arch/powerpc/include/param.h b/sys/arch/powerpc/include/param.h index 1ba71bd0037..eb66cc05f73 100644 --- a/sys/arch/powerpc/include/param.h +++ b/sys/arch/powerpc/include/param.h @@ -1,4 +1,4 @@ -/* $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. @@ -60,12 +60,6 @@ #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 */ diff --git a/sys/arch/powerpc64/include/param.h b/sys/arch/powerpc64/include/param.h index 7596a0b913f..2ea8ed97b79 100644 --- a/sys/arch/powerpc64/include/param.h +++ b/sys/arch/powerpc64/include/param.h @@ -1,4 +1,4 @@ -/* $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. @@ -69,12 +69,6 @@ #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) diff --git a/sys/arch/riscv64/include/param.h b/sys/arch/riscv64/include/param.h index c7d2bfb69d5..39cb08e938b 100644 --- a/sys/arch/riscv64/include/param.h +++ b/sys/arch/riscv64/include/param.h @@ -1,4 +1,4 @@ -/* $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. @@ -67,12 +67,6 @@ #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) diff --git a/sys/arch/sh/include/param.h b/sys/arch/sh/include/param.h index 90832ee2499..0b5c2a2a40a 100644 --- a/sys/arch/sh/include/param.h +++ b/sys/arch/sh/include/param.h @@ -1,4 +1,4 @@ -/* $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. @@ -86,12 +86,6 @@ #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_ */ diff --git a/sys/arch/sparc64/include/param.h b/sys/arch/sparc64/include/param.h index 545fb43551b..4a384af32d1 100644 --- a/sys/arch/sparc64/include/param.h +++ b/sys/arch/sparc64/include/param.h @@ -1,4 +1,4 @@ -/* $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 @@ -141,12 +141,6 @@ #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);