According to: http://software.intel.com/en-us/articles/multi-core-detect/
<http://software.intel.com/en-us/articles/multi-core-detect/>"leaf" means the core inside the "package"....ie, CPU cores are organized in a certain hierarchy....and multiple packages may exists...each package may have multiple cores inside - these are the leaf, which is the lowest level where CPU core resides. To enumerate these hierarchies/topologies....u used cpuid instruction as mentioned. On Tue, Aug 17, 2010 at 4:46 PM, Punit Kumar Jain <[email protected]>wrote: > Hi all, > > I was going through the following function __cpuinit > detect_extended_topology where there is a talk about detecting the cpu > topology. > I have read documentation intel IA32 sys programming guide about CPUID > instruction. But i am having some doubts regarding what exactly is a > "enumeration leaf".Does leaf mean a supported function for CPUID or is it > something else. I am not able to correctly understand why we use a "leaf" > terminology. > This maybe a trivial question but my google searches have done me no good. > > thanks, > Punit. > > -- Regards, Peter Teoh
