Processors numeration in SMP systems.

  • Thread starter Thread starter Dmitry Ponomarev
  • Start date Start date
D

Dmitry Ponomarev

I'm mazed about processors numbering. Is it possible that processors
numbered not continuously, i.e KeGetCurrentProcessorNumber can return 0,1,2
or 4 on different processors in four-processors system?
Thanks for explanation.
 
Thanks for reply.
But I still not understand completely. I mean that all processors in the
system are numbered continuously.
But http://www.microsoft.com/whdc/hwdev/tech/network/NetAdapters-Drvs.mspx
about KeQueryActiveProcessors says:
---
The total number of bits set in the affinity mask indicates the number of
active processors in the system. Drivers should not assume that all the set
bits in the mask will be contiguous because the processors might not be
consecutively numbered in the future releases of the operating system.
 
Back
Top