sched_setaffinity.2: wfix

This commit is contained in:
Michael Kerrisk 2008-11-12 12:08:34 -05:00
parent 718af393c7
commit 2ce777b42c
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ by dedicating one CPU to a particular process
(i.e., setting the affinity mask of that process to specify a single CPU, (i.e., setting the affinity mask of that process to specify a single CPU,
and setting the affinity mask of all other processes to exclude that CPU), and setting the affinity mask of all other processes to exclude that CPU),
it is possible to ensure maximum execution speed for that process. it is possible to ensure maximum execution speed for that process.
Restricting a process to run on a single CPU also prevents Restricting a process to run on a single CPU also avoids
the performance cost caused by the cache invalidation that occurs the performance cost caused by the cache invalidation that occurs
when a process ceases to execute on one CPU and then when a process ceases to execute on one CPU and then
recommences execution on a different CPU. recommences execution on a different CPU.