Hi :)


On Thu, Oct 7, 2010 at 04:52, Sengottuvelan S <[email protected]> wrote:
> Hi Santosa,

You forgot to cc: kernelnewbies :)

> Can you let me point me how to disable premption and interrupts in kernel
> mode.

I think spin_lock_irqsave() followed by tight loop will do the
job...tight loop, ok? not schedule_timeout.... I forgot the function's
name to disable preemption, IIRC spin_lock_irqsave implies disabling
preemption, but that's just my guess.


-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to