Re: Spinlocks on Uniprocessor

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

 



Thank you for your replies....

Regards,
Mansha

On 9/19/07, Jiri Kosina <jikos@xxxxxxxx> wrote:
On Wed, 19 Sep 2007, Mansha Linux wrote:

> Could you please explain me why do we need the spinlocks on uniprocessor
> machines? Is this the only reason that the kernel is preemptive ?

Yes, spinlocks on UP are needed only for preemptible kernels -- they mark
points in which preemption should not be enabled.

On non-preempt UP kernel, spinlocks go away.

--
Jiri Kosina

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ




--
Regards
Mansing.

[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