locking/preemption question

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

 



I have a short question about locking/preemption. On a Uni-proc, I understand we have to implement locking for global data structures, when kernel preemption is enabled (as in 2.6) and its not  neccessary when kernel preemption is disabled.And in SMP locking always has to be implemented.

But what happens in the case of hyper-threaded (as intel p4-HT) machines ? Does the scheduler provide the behavior of a UP or SMP  (assuming I have CONFIG_SMP enabled)?

rgds
Arun
--
"There are 10 people in the world - those who understand binary and those who dont !"

[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