Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. Processor
affinity is a modification of the native central queue scheduling
algorithm in a symmetric multiprocessing operating system. Each task in
the queue has a tag indicating its preferred / kin processor. At
allocation time, each task is allocated to its kin processor in
preference to others. Processor affinity takes advantage of the fact
that some remnants of a process may remain in one processor's state from
the last time the process ran. Scheduling it to run on the same
processor the next time could result in the process's running more
efficiently by reducing performance-degrading situations such as cache
misses.