Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Call radix_tree_init() earlier, so more stuff can m...
details: https://anonhg.NetBSD.org/src/rev/2c37d0ff82ea
branches: trunk
changeset: 1006815:2c37d0ff82ea
user: ad <ad%NetBSD.org@localhost>
date: Tue Jan 28 16:35:39 2020 +0000
description:
Call radix_tree_init() earlier, so more stuff can make use of radixtree.
diffstat:
sys/kern/init_main.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (36 lines):
diff -r 62ed107f5f0c -r 2c37d0ff82ea sys/kern/init_main.c
--- a/sys/kern/init_main.c Tue Jan 28 16:33:34 2020 +0000
+++ b/sys/kern/init_main.c Tue Jan 28 16:35:39 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: init_main.c,v 1.518 2020/01/08 17:38:42 ad Exp $ */
+/* $NetBSD: init_main.c,v 1.519 2020/01/28 16:35:39 ad Exp $ */
/*-
* Copyright (c) 2008, 2009, 2019 The NetBSD Foundation, Inc.
@@ -97,7 +97,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: init_main.c,v 1.518 2020/01/08 17:38:42 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: init_main.c,v 1.519 2020/01/28 16:35:39 ad Exp $");
#include "opt_ddb.h"
#include "opt_inet.h"
@@ -329,6 +329,9 @@
mutex_obj_init();
rw_obj_init();
+ /* Initialize radix trees (used by numerous subsystems). */
+ radix_tree_init();
+
/* Passive serialization. */
pserialize_init();
@@ -480,7 +483,6 @@
/* Initialize fstrans. */
fstrans_init();
- radix_tree_init(); /* used for page cache */
vfsinit();
lf_init();
Home |
Main Index |
Thread Index |
Old Index