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.