Module Name: src Committed By: pooka Date: Tue Jan 19 15:23:15 UTC 2010
Modified Files: src/sys/kern: kern_module.c Log Message: 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?). To generate a diff of this commit: cvs rdiff -u -r1.56 -r1.57 src/sys/kern/kern_module.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/kern/kern_module.c diff -u src/sys/kern/kern_module.c:1.56 src/sys/kern/kern_module.c:1.57 --- src/sys/kern/kern_module.c:1.56 Fri Jan 1 03:22:13 2010 +++ src/sys/kern/kern_module.c Tue Jan 19 15:23:14 2010 @@ -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) {