Expand Minimize

KeGetCurrentNodeNumber routine

The KeGetCurrentNodeNumber routine gets the NUMA node number for the logical processor that the caller is running on.

Syntax


USHORT KeGetCurrentNodeNumber(void);

Parameters

This routine has no parameters.

Return value

KeGetCurrentNodeNumber returns the node number.

Remarks

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.

Requirements

Version

Available in Windows 7 and later versions of Windows.

Header

Wdm.h (include Ntddk.h, Wdm.h, or Ntddk.h)

Library

Ntoskrnl.lib

IRQL

Any level

See also

KeQueryHighestNodeNumber

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft