Module Name: src
Committed By: msaitoh
Date: Tue Nov 16 05:16:47 UTC 2021
Modified Files:
src/share/man/man4: options.4
src/sys/arch/playstation2/playstation2: machdep.c
Log Message:
Remove mb_map.
To generate a diff of this commit:
cvs rdiff -u -r1.520 -r1.521 src/share/man/man4/options.4
cvs rdiff -u -r1.33 -r1.34 src/sys/arch/playstation2/playstation2/machdep.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/man/man4/options.4
diff -u src/share/man/man4/options.4:1.520 src/share/man/man4/options.4:1.521
--- src/share/man/man4/options.4:1.520 Wed Oct 6 05:25:53 2021
+++ src/share/man/man4/options.4 Tue Nov 16 05:16:47 2021
@@ -1,4 +1,4 @@
-.\" $NetBSD: options.4,v 1.520 2021/10/06 05:25:53 msaitoh Exp $
+.\" $NetBSD: options.4,v 1.521 2021/11/16 05:16:47 msaitoh Exp $
.\"
.\" Copyright (c) 1996
.\" Perry E. Metzger. All rights reserved.
@@ -30,7 +30,7 @@
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
.\"
-.Dd March 14, 2021
+.Dd November 16, 2021
.Dt OPTIONS 4
.Os
.Sh NAME
@@ -2073,9 +2073,6 @@ for the default.
.It Cd options NMBCLUSTERS=value
The number of mbuf clusters the kernel supports.
Mbuf clusters are MCLBYTES in size (usually 2k).
-This is used to compute the size of the kernel VM map
-.Em mb_map ,
-which maps mbuf clusters.
The default value is calculated from the amount of physical memory.
Architectures without direct mapping also limit it based on the kmem_map size,
which is used as backing store.
Index: src/sys/arch/playstation2/playstation2/machdep.c
diff -u src/sys/arch/playstation2/playstation2/machdep.c:1.33 src/sys/arch/playstation2/playstation2/machdep.c:1.34
--- src/sys/arch/playstation2/playstation2/machdep.c:1.33 Mon Nov 6 03:47:47 2017
+++ src/sys/arch/playstation2/playstation2/machdep.c Tue Nov 16 05:16:47 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.33 2017/11/06 03:47:47 christos Exp $ */
+/* $NetBSD: machdep.c,v 1.34 2021/11/16 05:16:47 msaitoh Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.33 2017/11/06 03:47:47 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.34 2021/11/16 05:16:47 msaitoh Exp $");
#include "opt_ddb.h"
#include "opt_kloader.h"
@@ -68,7 +68,6 @@ __KERNEL_RCSID(0, "$NetBSD: machdep.c,v
struct cpu_info cpu_info_store;
-struct vm_map *mb_map;
struct vm_map *phys_map;
phys_ram_seg_t mem_clusters[VM_PHYSSEG_MAX];
int mem_cluster_cnt;