On Thu, Jul 30, 2009 at 2:31 PM, er krishna<erkrishna@xxxxxxxxx> wrote: > Dear All, > > I have some confusion about preemption. Can anybody please clear my query : > > 1) If there are two process running in kernel space & one of them has a lock > & its preempt_count value is +ve , can the other process preempt it ? If process in kernel space?? Where did you get that from. I think you mean user process in kernel context. Most of the kernel is preemptible. If it is holding a lock which is non-preemptible then the other process cannot pre-empt it. -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ