tech-kern archive

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

Does "options P1003_1B_SEMAPHORE" still exist?

I recently noticed that there is a built-in "ksem" module that includes sys/kern/uipc_sem.c

The man page for sem(4) states that this code should be included in the kernel only if "options P1003_1B_SEMAPHORE" is defined. Yet a search of the kernel sources shows no usage for this option anywhere, and the uipc_sem.c file is unconditionally included by sys/conf/files

So, I have a few questions:

1. Should sem(4) really be in manual section 4? It doesn't appear to be a device driver! (Maybe a more detailed man page should be written for section 9?)

2. Should the man page be updated to remove the reference to the option?

3. If the code is truly unconditional, should it really be a module? If so, could it be made to auto-load when needed? Could it also be auto unloaded?

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

Home | Main Index | Thread Index | Old Index