=============================
WARNING: suspicious RCU usage
4.17.0-rc2+ #23 Not tainted
-----------------------------
include/linux/rcupdate.h:304 Illegal context switch in RCU read-side critical section!
other info that might help us debug this:
rcu_scheduler_active = 2, debug_locks = 1
1 lock held by jbd2/sda1-8/2271:
#0: (ptrval) (rcu_read_lock){....}, at: create_io_context block/blk.h:367 [inline]
#0: (ptrval) (rcu_read_lock){....}, at: generic_make_request_checks+0x705/0x2400 block/blk-core.c:2332
stack backtrace:
CPU: 1 PID: 2271 Comm: jbd2/sda1-8 Not tainted 4.17.0-rc2+ #23
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x1b9/0x294 lib/dump_stack.c:113
lockdep_rcu_suspicious+0x14a/0x153 kernel/locking/lockdep.c:4592
rcu_preempt_sleep_check include/linux/rcupdate.h:303 [inline]
___might_sleep+0x26d/0x320 kernel/sched/core.c:6153
__might_sleep+0x95/0x190 kernel/sched/core.c:6141
slab_pre_alloc_hook mm/slab.h:421 [inline]
slab_alloc mm/slab.c:3378 [inline]
__do_kmalloc mm/slab.c:3716 [inline]
__kmalloc+0x2b9/0x760 mm/slab.c:3727
kmalloc_array include/linux/slab.h:631 [inline]
kcalloc include/linux/slab.h:642 [inline]
numa_crng_init drivers/char/random.c:798 [inline]
crng_reseed+0x427/0x920 drivers/char/random.c:923
credit_entropy_bits+0x98d/0xa30 drivers/char/random.c:708
add_interrupt_randomness+0x494/0x860 drivers/char/random.c:1254
handle_irq_event_percpu+0xf9/0x1c0 kernel/irq/handle.c:191
handle_irq_event+0xa7/0x135 kernel/irq/handle.c:206
handle_edge_irq+0x20f/0x870 kernel/irq/chip.c:791
generic_handle_irq_desc include/linux/irqdesc.h:159 [inline]
handle_irq+0x18c/0x2e7 arch/x86/kernel/irq_64.c:77
do_IRQ+0x78/0x190 arch/x86/kernel/irq.c:245
common_interrupt+0xf/0xf arch/x86/entry/entry_64.S:642
RIP: 0010:debug_lockdep_rcu_enabled.part.1+0xb/0x60 kernel/rcu/update.c:298
RSP: 0018:ffff8801cc546748 EFLAGS: 00000202 ORIG_RAX: ffffffffffffffd5
RAX: dffffc0000000000 RBX: ffff8801b1d117c0 RCX: ffffffff83399cdd
RDX: 0000000000000004 RSI: ffffffff83399d13 RDI: ffffffff8909b3c0
RBP: ffff8801cc546758 R08: ffff8801cc538240 R09: ffffed003b5e46c2
R10: ffffed003b5e46c2 R11: ffff8801daf23613 R12: ffff8801d0e610f0
R13: ffffffff88dab440 R14: ffffffff8a7f1b80 R15: dffffc0000000000
blkg_lookup include/linux/blk-cgroup.h:291 [inline]
blkcg_bio_issue_check include/linux/blk-cgroup.h:696 [inline]
generic_make_request_checks+0x7c1/0x2400 block/blk-core.c:2334
generic_make_request+0x166/0x1510 block/blk-core.c:2402
submit_bio+0xba/0x460 block/blk-core.c:2567
submit_bh_wbc+0x5e8/0x7c0 fs/buffer.c:3076
submit_bh+0x28/0x30 fs/buffer.c:3082
jbd2_journal_commit_transaction+0x24be/0x8c18 fs/jbd2/commit.c:710
kjournald2+0x26c/0xb30 fs/jbd2/journal.c:229
kthread+0x345/0x410 kernel/kthread.c:238
ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:412
BUG: sleeping function called from invalid context at mm/slab.h:421
in_atomic(): 1, irqs_disabled(): 1, pid: 2271, name: jbd2/sda1-8
1 lock held by jbd2/sda1-8/2271:
#0: (ptrval) (rcu_read_lock){....}, at: create_io_context block/blk.h:367 [inline]
#0: (ptrval) (rcu_read_lock){....}, at: generic_make_request_checks+0x705/0x2400 block/blk-core.c:2332
irq event stamp: 45506
hardirqs last enabled at (45505): [] slab_alloc mm/slab.c:3385 [inline]
hardirqs last enabled at (45505): [] kmem_cache_alloc+0x26f/0x760 mm/slab.c:3552
hardirqs last disabled at (45506): [] interrupt_entry+0xb5/0xf0 arch/x86/entry/entry_64.S:625
softirqs last enabled at (45352): [] __do_softirq+0x778/0xaf5 kernel/softirq.c:311
softirqs last disabled at (45345): [] invoke_softirq kernel/softirq.c:365 [inline]
softirqs last disabled at (45345): [] irq_exit+0x1d1/0x200 kernel/softirq.c:405
CPU: 1 PID: 2271 Comm: jbd2/sda1-8 Not tainted 4.17.0-rc2+ #23
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x1b9/0x294 lib/dump_stack.c:113
___might_sleep.cold.87+0x11f/0x13a kernel/sched/core.c:6188
__might_sleep+0x95/0x190 kernel/sched/core.c:6141
slab_pre_alloc_hook mm/slab.h:421 [inline]
slab_alloc mm/slab.c:3378 [inline]
__do_kmalloc mm/slab.c:3716 [inline]
__kmalloc+0x2b9/0x760 mm/slab.c:3727
kmalloc_array include/linux/slab.h:631 [inline]
kcalloc include/linux/slab.h:642 [inline]
numa_crng_init drivers/char/random.c:798 [inline]
crng_reseed+0x427/0x920 drivers/char/random.c:923
credit_entropy_bits+0x98d/0xa30 drivers/char/random.c:708
add_interrupt_randomness+0x494/0x860 drivers/char/random.c:1254
handle_irq_event_percpu+0xf9/0x1c0 kernel/irq/handle.c:191
handle_irq_event+0xa7/0x135 kernel/irq/handle.c:206
handle_edge_irq+0x20f/0x870 kernel/irq/chip.c:791
generic_handle_irq_desc include/linux/irqdesc.h:159 [inline]
handle_irq+0x18c/0x2e7 arch/x86/kernel/irq_64.c:77
do_IRQ+0x78/0x190 arch/x86/kernel/irq.c:245
common_interrupt+0xf/0xf arch/x86/entry/entry_64.S:642
RIP: 0010:debug_lockdep_rcu_enabled.part.1+0xb/0x60 kernel/rcu/update.c:298
RSP: 0018:ffff8801cc546748 EFLAGS: 00000202 ORIG_RAX: ffffffffffffffd5
RAX: dffffc0000000000 RBX: ffff8801b1d117c0 RCX: ffffffff83399cdd
RDX: 0000000000000004 RSI: ffffffff83399d13 RDI: ffffffff8909b3c0
RBP: ffff8801cc546758 R08: ffff8801cc538240 R09: ffffed003b5e46c2
R10: ffffed003b5e46c2 R11: ffff8801daf23613 R12: ffff8801d0e610f0
R13: ffffffff88dab440 R14: ffffffff8a7f1b80 R15: dffffc0000000000
blkg_lookup include/linux/blk-cgroup.h:291 [inline]
blkcg_bio_issue_check include/linux/blk-cgroup.h:696 [inline]
generic_make_request_checks+0x7c1/0x2400 block/blk-core.c:2334
generic_make_request+0x166/0x1510 block/blk-core.c:2402
submit_bio+0xba/0x460 block/blk-core.c:2567
submit_bh_wbc+0x5e8/0x7c0 fs/buffer.c:3076
submit_bh+0x28/0x30 fs/buffer.c:3082
jbd2_journal_commit_transaction+0x24be/0x8c18 fs/jbd2/commit.c:710
kjournald2+0x26c/0xb30 fs/jbd2/journal.c:229
kthread+0x345/0x410 kernel/kthread.c:238
ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:412
random: crng init done