Just asking (since i didn't see spinlock implementation in kernel src),
On Tue, Oct 6, 2009 at 5:52 PM, Rajat Jain <Rajat.Jain@xxxxxxxxxxxx> wrote:
Spin lock APIs disables kernel preemption in all its api or some specific apis only. Please confirm and elaborate.
Best regards,
Krishna
Hello Govind,
This is not possible. Spin lock APIs disable kernel preemption
> What happens when you go for spin locks without
> disabling kernel preemption? Suppose you acquire
> a spin lock in a system call handler (a service
> routine on behalf of a user mode process) with
> kernel preemption enabled.
automatically.
Spin lock APIs disables kernel preemption in all its api or some specific apis only. Please confirm and elaborate.
Thanks,
Rajat
Best regards,
Krishna