|
|
You can use the pexbind(1M) command or the processor_exbind(2) system call to place a processor in an exclusive binding mode, or to unbind it. When a processor has been placed in an exclusive binding mode, it will execute only LWPs bound to that processor. It will not execute any other LWPs in the system even when the processor is idle. If a kernel driver requires a resource that is available only in the exclusively bound processor, the processor is still available for the kernel driver even though it is not available for user-level LWPs that are not exclusively bound to it.
For example, if a driver is exclusively bound to the processor, and a process requires the service of this device driver, the operating system will temporarily bind the process to the processor and execute the process on the processor for the duration of the driver routine. Once the driver operation is complete, the operating system will unbind the outside process from the processor and restrict itself again only to processes that are bound to the processor. Also, processes that are exclusively bound to a processor are restricted to run only on that processor.