Current-Users archive

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

Re: MODULAR option and advertised semaphore support



On Fri, Nov 05, 2010 at 03:14:44PM +0100, Nicolas Joly wrote:
> While testing semaphore support, i noticed that advertised support is
> currently hardcoded ... which does not deals nicely with the currently
> available module framework.
> 
> By example, you'll loose if you have a kernel without
> P1003_1B_SEMAPHORE option, but the module cannot be loaded for
> whatever reason.
> 
> The attached patch aims at making it fully dynamic, at the cost of
> loading the ksem module.

If I understood correctly, why not just make the SYSCTL_SETUP disappear?
It can not be used with modules anyways, and probably should be removed
entirely at some point. See also aio(3) and mq(3) for similar changes.

- Jukka


Home | Main Index | Thread Index | Old Index