> Help for "CONFIG_PREEMPT_BKL" from kernel source:
> "This option reduces the latency of the kernel by making the
> big kernel lock preemptible."
>
> This, I read, that a "big kernel lock" can be interupted. Right? And in
> your case the PC hangs without accepting any interrupts (keyboard). A
> simple "big kernel lock" is a simple disable all interrupts. Perhaps the
> CONFIG_PREEMPT_BKL helps to not hang in such lock.
>
> CONFIG_PREEMPT needs to have CONFIG_PREEMPT_BKL.
On a UNIPROCESSOR SYSTEM without PREEMPT , spinlocks don't exist.
The implementation is more clean.
So I think that configure a kernel without PREEMPT is a solution to
avoid deadlock.
This is what I think (if I understand correctly).
I have read now what is exactly the BIG KERNEL LOCK PREEMPTIBLE.
This is a good link.
http://kerneltrap.org/node/3843
Bye,
Paolo
|