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 [EMAIL PROTECTED] Please read the FAQ at http://kernelnewbies.org/FAQ
