Re: mm, vmstat: kernel BUG at mm/vmstat.c:1408!

From: Shiraz Hashim
Date: Wed Jan 13 2016 - 07:32:43 EST


On Wed, Jan 13, 2016 at 5:06 PM, Shiraz Hashim
<shiraz.linux.kernel@xxxxxxxxx> wrote:
>
> Can you please give it a try, seems it is reproducing easily at your end.
>

Ahh!, it cannot be done as it is called with preemption disabled.

[ 8.131226] Process swapper/4 (pid: 0, stack limit = 0xffffffc06fc18058)
[ 8.137908] Call trace:
[ 8.140344] [<ffffffc0000c19cc>] __might_sleep+0x15c/0x16c
[ 8.145812] [<ffffffc0000b3d64>] flush_work+0x3c/0x190
[ 8.150933] [<ffffffc0000b4450>] __cancel_work_timer+0x138/0x1e4
[ 8.156922] [<ffffffc0000b45a8>] cancel_delayed_work_sync+0xc/0x18
[ 8.163087] [<ffffffc0001782dc>] quiet_vmstat+0x3c/0x60
[ 8.168294] [<ffffffc0000dd2f0>] cpu_startup_entry+0x2c/0x330
[ 8.174024] [<ffffffc000090b24>] secondary_start_kernel+0x124/0x134

--
regards
Shiraz Hashim