tech-kern archive

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

Re: Module and device configuration locking [was Re: Modules loading modules?]



On Sun, 8 Aug 2010, Mindaugas Rasiukevicius wrote:

Paul Goyette <paul%whooppee.com@localhost> wrote:
Following up on all the various comments from jmcneil@, pooka@, and
rmind@, I've attached a revised set of diffs.  The most significant
change between this and the previous revision is the separation of the
kernconfig_lock_*() stuff into a separate kern_cfg.c source file.  This
allows inclusion of the kernel code directly into rump, rather than
having to re-implement it in rump/klock.c

Please use kern_cflock.c or something like that, as kern_cfg.c is too
generic for such specific facility.

My original plan was to use kern_cfglock.c but pooka@ suggested using a more-generic name "in case we have more stuff in the future". :)

I personally prefer the more-specific name myself, but I cannot make you both happy!


-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index