Re: SMP and determinism

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday 16 July 2004 15:58, K.R. Foley wrote:
> Vijay Kamarshi wrote:
> |
> | 5) Could the kernel be fooled by hyperthreading into allocating
> | multiple real-time tasks to the same physical processor (that
> | should logically belong to different processors)?
>
> Not 100% clear on this. My understanding is that the kernel doesn't
> differentiate between hyper-threading processors and physical
> processors. I think the kernel sees each of them all of them as
> different logical processors.

There is some code in the kernel (2.4.x) that can tell the difference 
between physical CPUs and logical CPUs.  But I don't know much about 
it.  Look for "sibling" in the scheduler code.



--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux