KeGetCurrentNodeNumber function (ntddk.h)
The KeGetCurrentNodeNumber routine gets the NUMA node number for the logical processor that the caller is running on.
This function has no parameters.
KeGetCurrentNodeNumber returns the node number.
In a non-uniform memory access (NUMA) multiprocessor architecture, a node is a collection of processors that share fast access to a region of memory. Memory access is non-uniform because a processor can access the memory in its node faster than it can access the memory in other nodes.
In a NUMA multiprocessor system that contains n nodes, the nodes are numbered from 0 to n-1. To get the highest node number (n-1) in the system, call the KeQueryHighestNodeNumber routine.
|Minimum supported client||Available in Windows 7 and later versions of Windows.|
|Header||ntddk.h (include Ntddk.h, Wdm.h, Ntddk.h)|