// ntddk.h
USHORT KeGetCurrentNodeNumber();
View the official Windows Driver Kit DDI reference// wdm.h
USHORT KeGetCurrentNodeNumber();
View the official Windows Driver Kit DDI referenceNo description available.
The KeGetCurrentNodeNumber routine gets the NUMA node number for the logical processor that the caller is running on.
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.
The KeGetCurrentNodeNumber routine gets the NUMA node number for the logical processor that the caller is running on.
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.