Patent ID: 7337442

Claim:
A method for scheduling processor use on a computer system comprising at least one processor package having two or more logical processors sharing common processor execution resources, the method comprising: storing package information comprising an indication that said first and second logical processors share said processor package and said common processor execution resources, said common processor execution resources indicating said first and second logical processors share a common physical processor, wherein said package information is stored in a package affinity structure in a static resource allocation table, and wherein said static resource allocation table comprises a first architecture state affinity structure for said first logical processor comprising a first package identifier, a second architecture state affinity structure for said second logical processor comprising said first package identifier, and said package affinity structure comprises said first package identifier; and sharing said package information with an operating system on said computer system, wherein said operating system utilizes said package information in scheduling processor use, and wherein utilizing said package information in scheduling processor use comprises giving preference to not scheduling two threads that require said common processor execution resources to run simultaneously on said first and second logical processors.