mirror of
https://github.com/reactos/reactos.git
synced 2025-04-18 19:47:14 +00:00
![]() These are used in the paging path, when the page is currently in the process of being read from or written to the disk. While YieldProcessor() provides the chance to switch context to the other paging thread, it only does so, once the current thread's quantum has expired. On a single CPU system this effectively leads to busy waiting for the rest of the quantum. On SMP systems this could succeed earlier, thus reducing latency, but it would still contribute to high CPU usage, while waiting for the IO operation to complete, which is not what we want. Using KeDelayExecutionThread() will instantly allow another thread to run, providing enough time to complete the IO operation. |
||
---|---|---|
.. | ||
amd64 | ||
arm | ||
ARM3 | ||
i386 | ||
balance.c | ||
freelist.c | ||
marea.c | ||
mmfault.c | ||
mminit.c | ||
pagefile.c | ||
region.c | ||
rmap.c | ||
section.c | ||
shutdown.c |