Re: [LKP] [mm/slub] BUG: using smp_processor_id() in preemptible [00000000] code: swapper/0/1

From: Joonsoo Kim
Date: Wed Jan 21 2015 - 20:55:00 EST


On Wed, Jan 21, 2015 at 12:38:35PM +0800, Huang Ying wrote:
> FYI, we noticed the below changes on
>
> git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> commit d2dc80750ee05ceb03c9b13b0531a782116d1ade ("mm/slub: optimize alloc/free fastpath by removing preemption on/off")
>
>
> +-------------------------------------------------------------+------------+------------+
> | | 8e32336269 | d2dc80750e |
> +-------------------------------------------------------------+------------+------------+
> | boot_successes | 8 | 4 |
> | boot_failures | 2 | 16 |
> | WARNING:at_net/netlink/genetlink.c:#genl_unbind() | 2 | 5 |
> | backtrace:do_group_exit | 2 | 5 |
> | backtrace:SyS_exit_group | 2 | 5 |
> | BUG:using_smp_processor_id()in_preemptible[#]code:swapper | 0 | 6 |
> | backtrace:getname_kernel | 0 | 6 |
> | backtrace:run_init_process | 0 | 6 |
> | backtrace:do_execve | 0 | 6 |
> | BUG:using_smp_processor_id()in_preemptible[#]code:init | 0 | 1 |
> | backtrace:vfs_stat | 0 | 1 |
> | backtrace:SyS_stat64 | 0 | 1 |
> | BUG:using_smp_processor_id()in_preemptible[#]code:kdevtmpfs | 0 | 5 |
> | backtrace:devtmpfsd | 0 | 5 |
> | backtrace:security_inode_alloc | 0 | 5 |
> | backtrace:inode_init_always | 0 | 5 |
> +-------------------------------------------------------------+------------+------------+
>

Hello,

I already sent the patch to fix the problem.

https://lkml.org/lkml/2015/1/19/17

Thanks for reporting.

Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/