Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Revert "module(9): Disable module autounload by def...
details: https://anonhg.NetBSD.org/src/rev/516b27d39d2c
branches: trunk
changeset: 368845:516b27d39d2c
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Aug 07 23:03:59 2022 +0000
description:
Revert "module(9): Disable module autounload by default."
Needs more discussion. Maybe better with an opt-in mechanism to
replace the opt-out mechanism than by disabling it altogether by
default.
diffstat:
sys/kern/kern_module.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r a7f20d93aa92 -r 516b27d39d2c sys/kern/kern_module.c
--- a/sys/kern/kern_module.c Sun Aug 07 22:43:28 2022 +0000
+++ b/sys/kern/kern_module.c Sun Aug 07 23:03:59 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_module.c,v 1.156 2022/08/07 21:17:18 riastradh Exp $ */
+/* $NetBSD: kern_module.c,v 1.157 2022/08/07 23:03:59 riastradh Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_module.c,v 1.156 2022/08/07 21:17:18 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_module.c,v 1.157 2022/08/07 23:03:59 riastradh Exp $");
#define _MODULE_INTERNAL
@@ -96,7 +96,7 @@
#endif
u_int module_count;
u_int module_builtinlist;
-u_int module_autotime = 0;
+u_int module_autotime = 10;
u_int module_gen = 1;
static kcondvar_t module_thread_cv;
static kmutex_t module_thread_lock;
Home |
Main Index |
Thread Index |
Old Index