[PATCH] hwspinlock/core: Kernel panic when enable DEBUG_SPINLOCK_SLEEP config.

Ohad Ben-Cohen ohad at wizery.com
Thu Dec 20 08:05:04 EST 2012


Hello Steve,

On Thu, Dec 20, 2012 at 2:44 PM, steve.zhan <zhanzhenbo at gmail.com> wrote:
>                 When enable this config to check kernel, kernel will
> complain panic at slab.c(kmem_cache_alloc function): "BUG: sleeping function
> called from invalid context".

Which kernel version are you using ?

Specifically, do you have commit
93b465c2e186d96fb90012ba0f9372eb9952e732 "hwspinlock/core: use a mutex
to protect the radix tree" ?

Thanks,
Ohad.



More information about the linux-arm-kernel mailing list