Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern Update comment: unloaded modules which were pumped ...



details:   https://anonhg.NetBSD.org/src/rev/7d73b50f8a81
branches:  trunk
changeset: 750936:7d73b50f8a81
user:      pooka <pooka%NetBSD.org@localhost>
date:      Tue Jan 19 15:23:14 2010 +0000

description:
Update comment: unloaded modules which were pumped up by the
bootloader are not freed at the end of bootstrap (there should be
none, although this is not asserted.  maybe it should be?).

diffstat:

 sys/kern/kern_module.c |  9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diffs (30 lines):

diff -r bbd49a6e16b5 -r 7d73b50f8a81 sys/kern/kern_module.c
--- a/sys/kern/kern_module.c    Tue Jan 19 13:39:04 2010 +0000
+++ b/sys/kern/kern_module.c    Tue Jan 19 15:23:14 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_module.c,v 1.56 2010/01/01 03:22:13 dholland Exp $        */
+/*     $NetBSD: kern_module.c,v 1.57 2010/01/19 15:23:14 pooka 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.56 2010/01/01 03:22:13 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_module.c,v 1.57 2010/01/19 15:23:14 pooka Exp $");
 
 #define _MODULE_INTERNAL
 
@@ -625,10 +625,7 @@
 
        /*
         * Load the module and link.  Before going to the file system,
-        * scan the list of modules loaded by the boot loader.  Just
-        * before init is started the list of modules loaded at boot
-        * will be purged.  Before init is started we can assume that
-        * `name' is a module name and not a path name.
+        * scan the list of modules loaded by the boot loader.
         */
        TAILQ_FOREACH(mod, &module_bootlist, mod_chain) {
                if (strcmp(mod->mod_info->mi_name, name) == 0) {



Home | Main Index | Thread Index | Old Index