Kernel module/kthread question
Dmitry Antipov
dmitry.antipov at linaro.org
Wed Feb 1 12:39:40 UTC 2012
On 02/01/2012 04:15 PM, Daniel Lezcano wrote:
> Yes, but the problem is the same also. Did you try by removing atomic_inc and set nrunnings to nrkthread ?
Now I'm trying, and it looks better - but hurts the lockdep validator :-(:
BUG: MAX_LOCKDEP_KEYS too low!
turning off the locking correctness validator.
[<80014344>] (unwind_backtrace+0x0/0xe0) from [<8006c73c>] (__lock_acquire.isra.21+0x7b8/0x9c4)
[<8006c73c>] (__lock_acquire.isra.21+0x7b8/0x9c4) from [<8006c99c>] (lock_acquire+0x54/0x64)
[<8006c99c>] (lock_acquire+0x54/0x64) from [<8035c8ac>] (_raw_spin_lock_irqsave+0x3c/0x50)
[<8035c8ac>] (_raw_spin_lock_irqsave+0x3c/0x50) from [<80050900>] (complete+0x1c/0x58)
[<80050900>] (complete+0x1c/0x58) from [<7f00007c>] (test+0x7c/0x90 [testmod])
[<7f00007c>] (test+0x7c/0x90 [testmod]) from [<800496e4>] (kthread+0x8c/0x9c)
[<800496e4>] (kthread+0x8c/0x9c) from [<8000eabc>] (kernel_thread_exit+0x0/0x8)
Dmitry
More information about the linaro-dev
mailing list