Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src Remove mb_map.
details: https://anonhg.NetBSD.org/src/rev/40ea2af15c47
branches: trunk
changeset: 1026272:40ea2af15c47
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Tue Nov 16 05:16:47 2021 +0000
description:
Remove mb_map.
diffstat:
share/man/man4/options.4 | 7 ++-----
sys/arch/playstation2/playstation2/machdep.c | 5 ++---
2 files changed, 4 insertions(+), 8 deletions(-)
diffs (54 lines):
diff -r 061985b9a876 -r 40ea2af15c47 share/man/man4/options.4
--- a/share/man/man4/options.4 Tue Nov 16 04:48:43 2021 +0000
+++ b/share/man/man4/options.4 Tue Nov 16 05:16:47 2021 +0000
@@ -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 @@
.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.
diff -r 061985b9a876 -r 40ea2af15c47 sys/arch/playstation2/playstation2/machdep.c
--- a/sys/arch/playstation2/playstation2/machdep.c Tue Nov 16 04:48:43 2021 +0000
+++ b/sys/arch/playstation2/playstation2/machdep.c Tue Nov 16 05:16:47 2021 +0000
@@ -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 @@
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;
Home |
Main Index |
Thread Index |
Old Index