Commit Graph

20 Commits

Author SHA1 Message Date
jruoho dfca43fdb9 Few small nits. 2010-08-24 05:34:15 +00:00
pgoyette 7626bd9b32 Put a valid date here - no more placeholder. 2010-08-21 13:34:43 +00:00
pgoyette 4a743ad47d Define a set of new kernel locking primitives to implement the recursive
kernconfig_mutex.  Update module subsystem to use this mutex rather than
its own internal (non-recursive) mutex.  Make module_autoload() do its
own locking to be consistent with the rest of the module_xxx() calls.
Update module(9) man page appropriately.

As discussed on tech-kern over the last few weeks.

Welcome to NetBSD 5.99.39 !
2010-08-21 13:17:31 +00:00
pgoyette c6f8bef851 Note that, for MODULE_CLASS_SECMODEL, the class is not ignored. Rather,
we will automatically call secmodel_register() for these modules.
2010-08-18 01:56:45 +00:00
wiz 3ed879f06c filesystem -> file system 2010-08-17 06:44:25 +00:00
jnemeth 4de9b94cfd A few corrections:
- the return value from modcmd(MODULE_CMD_FINI) is not ignored;
  the module is only unloaded if the return value is 0
- if loading a module fails, the dependents won't be unloaded until
  the auto_unload timer goes off
- clarify that <module>.prop is merged with the dictionary passed
  in by modctl()
- clarify that other parts of the kernel shouldn't normally call
  module_unload()
- add some more source references and mention routines expected to
  be supplied by architecture dependent code
2010-08-17 04:09:07 +00:00
wiz efa04f9763 Sort sections, remove trailing whitespace. 2010-08-14 17:49:12 +00:00
pgoyette f385c3dade Add an Authors section 2010-08-14 17:06:58 +00:00
wiz ffe6b7cdc1 We usually write "file system", so change it to this version here.
Also, fix a typo, and remove a line only consisting of ".Fn ".
2010-08-11 20:10:55 +00:00
pgoyette 7a8c7dc74a Add documentation for the various module system initialization routines. 2010-08-11 18:20:09 +00:00
wiz 032d0f9a13 Remove trailing whitespace, and mark up file name suffix. 2010-08-08 15:23:28 +00:00
pgoyette f792e9e485 Filling in a few more gaps. 2010-08-08 14:26:22 +00:00
pgoyette 6241e2c44e Add documentation for module_find_section() 2010-08-07 22:21:30 +00:00
wiz fe39a07b5f Fix typo. 2010-08-04 18:52:49 +00:00
jruoho da5cba2978 Improvements to wording, grammar, and markup. 2010-08-04 05:51:20 +00:00
pgoyette 01a1e3e5d6 Unimplemented modcmd() routines should return ENOTTY, not zero. 2010-07-31 13:27:29 +00:00
pgoyette fb03fbed90 Improve markup, add documentation for the module's modcmd() interface 2010-07-31 13:20:08 +00:00
pgoyette 4d71a95956 Crap - another typo. 2010-07-31 03:44:33 +00:00
pgoyette 44b6cc4347 Minor grammar nits. 2010-07-31 03:43:00 +00:00
pgoyette 31f0dbbb9e Make a first pass at documenting the module(9) subsystem.
XXX This is by no means complete, but it is a beginning.
2010-07-31 03:14:05 +00:00