// wdm.h
NTSYSAPI VOID RtlPrefetchMemoryNonTemporal(
[in] PVOID Source,
[in] SIZE_T Length
);
View the official Windows Driver Kit DDI referenceNo description available.
The RtlPrefetchMemoryNonTemporal routine provides a hint to the processor that a buffer should be temporarily moved into the processor cache.
Source [in]A pointer to the buffer to be moved into the processor cache.
Length [in]The length of the buffer to be moved.
None.
You should use this routine only for a buffer that will be written to or read from exactly once. Note that RtlPrefetchMemoryNonTemporal is only a hint to the processor: the buffer is not guaranteed to be moved into the cache. On x86-based and x64-based systems, this routine uses the prefetchnta instruction.