1.
I got a bug report
2.
It is reported here in the linux kernel source code
lib/spinlock_debug.c
3.
The reason is that, I did things like
It is not allowed , because in printk() function, it will also call spinlock(), and that cause the recursion.
本文解析了Linux内核中spinlock递归错误的具体原因,通过分析源代码和调用堆栈,指出了不当使用spinlock锁导致的问题,并提供了避免此类错误的方法。
1.
I got a bug report
2.
It is reported here in the linux kernel source code
lib/spinlock_debug.c
3.
The reason is that, I did things like
It is not allowed , because in printk() function, it will also call spinlock(), and that cause the recursion.
1060
788
6051

被折叠的 条评论
为什么被折叠?