Skip to content

Instantly share code, notes, and snippets.

@kiryl
Created May 10, 2016 15:24
Show Gist options
  • Save kiryl/80c0149e03ed35dfaf26628b8e03cdbc to your computer and use it in GitHub Desktop.
Save kiryl/80c0149e03ed35dfaf26628b8e03cdbc to your computer and use it in GitHub Desktop.
[ 479.188194]
[ 479.188468] ======================================================
[ 479.189413] [ INFO: HARDIRQ-safe -> HARDIRQ-unsafe lock order detected ]
[ 479.190287] 4.6.0-rc3-00048-g0025f684caf8 #2123 Not tainted
[ 479.191046] ------------------------------------------------------
[ 479.191878] khugepaged/35 [HC0[0]:SC0[0]:HE0:SE1] is trying to acquire:
[ 479.192017] (&(&info->lock)->rlock){+.+.-.}, at: [<ffffffff8141cb85>] shmem_charge+0xb5/0x420
[ 479.192017]
[ 479.192017] and this task is already holding:
[ 479.192017] (&(&mapping->tree_lock)->rlock){....-.}, at: [<ffffffff814fabd9>] collapse_shmem+0x2e9/0x2730
[ 479.192017] which would create a new lock dependency:
[ 479.192017] (&(&mapping->tree_lock)->rlock){....-.} -> (&(&info->lock)->rlock){+.+.-.}
[ 479.192017]
[ 479.192017] but this new dependency connects a HARDIRQ-irq-safe lock:
[ 479.192017] (&(&zone->lru_lock)->rlock){-.-.-.}
... which became HARDIRQ-irq-safe at:
[ 479.192017] [<ffffffff811f45c2>] __lock_acquire+0x2042/0x62c0
[ 479.192017] [<ffffffff811fa680>] lock_acquire+0x120/0x350
[ 479.192017] [<ffffffff828fea16>] _raw_spin_lock_irqsave+0x46/0x60
[ 479.192017] [<ffffffff813ec865>] pagevec_lru_move_fn+0x145/0x290
[ 479.192017] [<ffffffff813eca23>] pagevec_move_tail+0x73/0xa0
[ 479.192017] [<ffffffff813ecdea>] rotate_reclaimable_page+0x39a/0x480
[ 479.192017] [<ffffffff813b7a54>] end_page_writeback+0xe4/0x2b0
[ 479.192017] [<ffffffff81495136>] end_swap_bio_write+0x226/0x310
[ 479.192017] [<ffffffff81bcb205>] bio_endio+0x195/0x1f0
[ 479.192017] [<ffffffff81be7dc3>] blk_update_request+0x1b3/0xc40
[ 479.192017] [<ffffffff81c0bc65>] blk_mq_end_request+0x55/0x130
[ 479.192017] [<ffffffff8204d187>] virtblk_request_done+0xa7/0x290
[ 479.192017] [<ffffffff81c06b6d>] __blk_mq_complete_request_remote+0x5d/0x70
[ 479.192017] [<ffffffff812971dc>] flush_smp_call_function_queue+0xdc/0x3a0
[ 479.192017] [<ffffffff812978f8>] generic_smp_call_function_single_interrupt+0x18/0x20
[ 479.192017] [<ffffffff810979b4>] smp_call_function_single_interrupt+0x64/0x90
[ 479.192017] [<ffffffff82900369>] call_function_single_interrupt+0x89/0x90
[ 479.192017] [<ffffffff8106bdff>] arch_cpu_idle+0xf/0x20
[ 479.192017] [<ffffffff811d7c02>] default_idle_call+0x52/0x70
[ 479.192017] [<ffffffff811d80b1>] cpu_startup_entry+0x491/0x620
[ 479.192017] [<ffffffff828df97e>] rest_init+0x18e/0x1a0
[ 479.192017] [<ffffffff834d8652>] start_kernel+0x5e6/0x60c
[ 479.192017] [<ffffffff834d72f4>] x86_64_start_reservations+0x2a/0x2c
[ 479.192017] [<ffffffff834d7441>] x86_64_start_kernel+0x14b/0x15a
[ 479.192017]
[ 479.192017] to a HARDIRQ-irq-unsafe lock:
[ 479.192017] (&(&info->lock)->rlock){+.+.-.}
... which became HARDIRQ-irq-unsafe at:
[ 479.192017] ... [<ffffffff811f39f1>] __lock_acquire+0x1471/0x62c0
[ 479.192017] [<ffffffff811fa680>] lock_acquire+0x120/0x350
[ 479.192017] [<ffffffff828fe7fb>] _raw_spin_lock+0x3b/0x50
[ 479.192017] [<ffffffff814140a6>] shmem_getpage_gfp+0x1476/0x20a0
[ 479.192017] [<ffffffff81414eed>] shmem_fault+0x21d/0x6b0
[ 479.192017] [<ffffffff8144f3d3>] __do_fault+0x203/0x460
[ 479.192017] [<ffffffff8145ba16>] do_fault+0x236/0x19f0
[ 479.192017] [<ffffffff81461759>] handle_mm_fault+0x7d9/0x2420
[ 479.192017] [<ffffffff810c0bb1>] __do_page_fault+0x341/0xa00
[ 479.192017] [<ffffffff810c12c0>] do_page_fault+0x20/0x30
[ 479.192017] [<ffffffff82900d52>] page_fault+0x22/0x30
[ 479.192017]
[ 479.192017] other info that might help us debug this:
[ 479.192017]
[ 479.192017] Chain exists of:
&(&zone->lru_lock)->rlock --> &(&mapping->tree_lock)->rlock --> &(&info->lock)->rlock
[ 479.192017] Possible interrupt unsafe locking scenario:
[ 479.192017]
[ 479.192017] CPU0 CPU1
[ 479.192017] ---- ----
[ 479.192017] lock(&(&info->lock)->rlock);
[ 479.192017] local_irq_disable();
[ 479.192017] lock(&(&zone->lru_lock)->rlock);
[ 479.192017] lock(&(&mapping->tree_lock)->rlock);
[ 479.192017] <Interrupt>
[ 479.192017] lock(&(&zone->lru_lock)->rlock);
[ 479.192017]
[ 479.192017] *** DEADLOCK ***
[ 479.192017]
[ 479.192017] 1 lock held by khugepaged/35:
[ 479.192017] #0: (&(&mapping->tree_lock)->rlock){....-.}, at: [<ffffffff814fabd9>] collapse_shmem+0x2e9/0x2730
[ 479.192017]
the dependencies between HARDIRQ-irq-safe lock and the holding lock:
[ 479.192017] -> (&(&zone->lru_lock)->rlock){-.-.-.} ops: 451845 {
[ 479.192017] IN-HARDIRQ-W at:
[ 479.192017] [<ffffffff811f45c2>] __lock_acquire+0x2042/0x62c0
[ 479.192017] [<ffffffff811fa680>] lock_acquire+0x120/0x350
[ 479.192017] [<ffffffff828fea16>] _raw_spin_lock_irqsave+0x46/0x60
[ 479.192017] [<ffffffff813ec865>] pagevec_lru_move_fn+0x145/0x290
[ 479.192017] [<ffffffff813eca23>] pagevec_move_tail+0x73/0xa0
[ 479.192017] [<ffffffff813ecdea>] rotate_reclaimable_page+0x39a/0x480
[ 479.192017] [<ffffffff813b7a54>] end_page_writeback+0xe4/0x2b0
[ 479.192017] [<ffffffff81495136>] end_swap_bio_write+0x226/0x310
[ 479.192017] [<ffffffff81bcb205>] bio_endio+0x195/0x1f0
[ 479.192017] [<ffffffff81be7dc3>] blk_update_request+0x1b3/0xc40
[ 479.192017] [<ffffffff81c0bc65>] blk_mq_end_request+0x55/0x130
[ 479.192017] [<ffffffff8204d187>] virtblk_request_done+0xa7/0x290
[ 479.192017] [<ffffffff81c06b6d>] __blk_mq_complete_request_remote+0x5d/0x70
[ 479.192017] [<ffffffff812971dc>] flush_smp_call_function_queue+0xdc/0x3a0
[ 479.192017] [<ffffffff812978f8>] generic_smp_call_function_single_interrupt+0x18/0x20
[ 479.192017] [<ffffffff810979b4>] smp_call_function_single_interrupt+0x64/0x90
[ 479.192017] [<ffffffff82900369>] call_function_single_interrupt+0x89/0x90
[ 479.192017] [<ffffffff8106bdff>] arch_cpu_idle+0xf/0x20
[ 479.192017] [<ffffffff811d7c02>] default_idle_call+0x52/0x70
[ 479.192017] [<ffffffff811d80b1>] cpu_startup_entry+0x491/0x620
[ 479.192017] [<ffffffff828df97e>] rest_init+0x18e/0x1a0
[ 479.192017] [<ffffffff834d8652>] start_kernel+0x5e6/0x60c
[ 479.192017] [<ffffffff834d72f4>] x86_64_start_reservations+0x2a/0x2c
[ 479.192017] [<ffffffff834d7441>] x86_64_start_kernel+0x14b/0x15a
[ 479.192017] IN-SOFTIRQ-W at:
[ 479.192017] [<ffffffff811f3584>] __lock_acquire+0x1004/0x62c0
[ 479.192017] [<ffffffff811fa680>] lock_acquire+0x120/0x350
[ 479.192017] [<ffffffff828fea16>] _raw_spin_lock_irqsave+0x46/0x60
[ 479.192017] [<ffffffff813ec865>] pagevec_lru_move_fn+0x145/0x290
[ 479.192017] [<ffffffff813eca23>] pagevec_move_tail+0x73/0xa0
[ 479.192017] [<ffffffff813ecdea>] rotate_reclaimable_page+0x39a/0x480
[ 479.192017] [<ffffffff813b7a54>] end_page_writeback+0xe4/0x2b0
[ 479.192017] [<ffffffff81495136>] end_swap_bio_write+0x226/0x310
[ 479.192017] [<ffffffff81bcb205>] bio_endio+0x195/0x1f0
[ 479.192017] [<ffffffff81be7dc3>] blk_update_request+0x1b3/0xc40
[ 479.192017] [<ffffffff81c0bc65>] blk_mq_end_request+0x55/0x130
[ 479.192017] [<ffffffff8204d187>] virtblk_request_done+0xa7/0x290
[ 479.192017] [<ffffffff81c0bfd9>] __blk_mq_complete_request+0x299/0x4d0
[ 479.192017] [<ffffffff81c0c270>] blk_mq_complete_request+0x60/0x80
[ 479.192017] [<ffffffff8204d539>] virtblk_done+0x1c9/0x3a0
[ 479.192017] [<ffffffff81ebe059>] vring_interrupt+0x109/0x160
[ 479.192017] [<ffffffff8122564e>] handle_irq_event_percpu+0xfe/0x7e0
[ 479.192017] [<ffffffff81225de2>] handle_irq_event+0xb2/0x140
[ 479.192017] [<ffffffff8123051d>] handle_edge_irq+0x30d/0x910
[ 479.192017] [<ffffffff8105b04c>] handle_irq+0x3c/0x50
[ 479.192017] [<ffffffff8290158e>] do_IRQ+0x8e/0x1c0
[ 479.192017] [<ffffffff828ffd49>] ret_from_intr+0x0/0x19
[ 479.192017] [<ffffffff8110153c>] irq_exit+0x10c/0x140
[ 479.192017] [<ffffffff82901740>] smp_apic_timer_interrupt+0x80/0xa0
[ 479.192017] [<ffffffff82900009>] apic_timer_interrupt+0x89/0x90
[ 479.192017] [<ffffffff814047c9>] shrink_active_list+0x439/0x8f0
[ 479.192017] [<ffffffff814057f5>] shrink_zone_memcg+0xb75/0x10e0
[ 479.192017] [<ffffffff8140607b>] shrink_zone+0x31b/0xbd0
[ 479.192017] [<ffffffff81409ba4>] kswapd+0x924/0x1830
[ 479.192017] [<ffffffff811511a4>] kthread+0x244/0x2d0
[ 479.192017] [<ffffffff828ff602>] ret_from_fork+0x22/0x40
[ 479.192017] IN-RECLAIM_FS-W at:
[ 479.192017] [<ffffffff811f3ab8>] __lock_acquire+0x1538/0x62c0
[ 479.192017] [<ffffffff811fa680>] lock_acquire+0x120/0x350
[ 479.192017] [<ffffffff828fea16>] _raw_spin_lock_irqsave+0x46/0x60
[ 479.192017] [<ffffffff813ec865>] pagevec_lru_move_fn+0x145/0x290
[ 479.192017] [<ffffffff813ee9a5>] lru_add_drain_cpu+0x245/0x320
[ 479.192017] [<ffffffff813eeaa4>] lru_add_drain+0x24/0x60
[ 479.192017] [<ffffffff814044d7>] shrink_active_list+0x147/0x8f0
[ 479.192017] [<ffffffff81409999>] kswapd+0x719/0x1830
[ 479.192017] [<ffffffff811511a4>] kthread+0x244/0x2d0
[ 479.192017] [<ffffffff828ff602>] ret_from_fork+0x22/0x40
[ 479.192017] INITIAL USE at:
[ 479.192017] [<ffffffff811f3052>] __lock_acquire+0xad2/0x62c0
[ 479.192017] [<ffffffff811fa680>] lock_acquire+0x120/0x350
[ 479.192017] [<ffffffff828fea16>] _raw_spin_lock_irqsave+0x46/0x60
[ 479.192017] [<ffffffff813ec865>] pagevec_lru_move_fn+0x145/0x290
[ 479.192017] [<ffffffff813ee9a5>] lru_add_drain_cpu+0x245/0x320
[ 479.192017] [<ffffffff813eeaa4>] lru_add_drain+0x24/0x60
[ 479.192017] [<ffffffff813eeb1b>] __pagevec_release+0x1b/0xb0
[ 479.192017] [<ffffffff813f0d6a>] truncate_inode_pages_range+0x68a/0x1360
[ 479.192017] [<ffffffff813f1a69>] truncate_inode_pages+0x29/0x30
[ 479.192017] [<ffffffff815dd581>] kill_bdev+0xc1/0xf0
[ 479.192017] [<ffffffff815dd780>] __blkdev_put+0x1d0/0x790
[ 479.192017] [<ffffffff815e28c2>] blkdev_put+0x82/0x4d0
[ 479.192017] [<ffffffff81c23ed5>] add_disk+0xc75/0xff0
[ 479.192017] [<ffffffff83570b53>] brd_init+0xea/0x203
[ 479.192017] [<ffffffff834d883e>] do_one_initcall+0x1c6/0x2a1
[ 479.192017] [<ffffffff834d8c1f>] kernel_init_freeable+0x306/0x3ba
[ 479.192017] [<ffffffff828df9a8>] kernel_init+0x18/0x180
[ 479.192017] [<ffffffff828ff602>] ret_from_fork+0x22/0x40
[ 479.192017] }
[ 479.192017] ... key at: [<ffffffff843f2c40>] __key.42622+0x0/0x40
[ 479.192017] ... acquired at:
[ 479.192017] [<ffffffff811fa680>] lock_acquire+0x120/0x350
[ 479.192017] [<ffffffff828fe7fb>] _raw_spin_lock+0x3b/0x50
[ 479.192017] [<ffffffff814f4a2d>] split_huge_page_to_list+0x79d/0x19d0
[ 479.192017] [<ffffffff814017dd>] shrink_page_list+0x273d/0x35a0
[ 479.192017] [<ffffffff81403aed>] shrink_inactive_list+0x56d/0xe10
[ 479.192017] [<ffffffff8140561e>] shrink_zone_memcg+0x99e/0x10e0
[ 479.192017] [<ffffffff8140607b>] shrink_zone+0x31b/0xbd0
[ 479.192017] [<ffffffff81409ba4>] kswapd+0x924/0x1830
[ 479.192017] [<ffffffff811511a4>] kthread+0x244/0x2d0
[ 479.192017] [<ffffffff828ff602>] ret_from_fork+0x22/0x40
[ 479.192017]
[ 479.192017] -> (&(&mapping->tree_lock)->rlock){....-.} ops: 35698 {
[ 479.192017] IN-RECLAIM_FS-W at:
[ 479.192017] [<ffffffff811f3ab8>] __lock_acquire+0x1538/0x62c0
[ 479.192017] [<ffffffff811fa680>] lock_acquire+0x120/0x350
[ 479.192017] [<ffffffff828fea16>] _raw_spin_lock_irqsave+0x46/0x60
[ 479.192017] [<ffffffff813fa448>] __remove_mapping+0xa8/0x550
[ 479.192017] [<ffffffff814009ea>] shrink_page_list+0x194a/0x35a0
[ 479.192017] [<ffffffff81403aed>] shrink_inactive_list+0x56d/0xe10
[ 479.192017] [<ffffffff8140561e>] shrink_zone_memcg+0x99e/0x10e0
[ 479.192017] [<ffffffff8140607b>] shrink_zone+0x31b/0xbd0
[ 479.192017] [<ffffffff81409ba4>] kswapd+0x924/0x1830
[ 479.192017] [<ffffffff811511a4>] kthread+0x244/0x2d0
[ 479.192017] [<ffffffff828ff602>] ret_from_fork+0x22/0x40
[ 479.192017] INITIAL USE at:
[ 479.192017] [<ffffffff811f3052>] __lock_acquire+0xad2/0x62c0
[ 479.192017] [<ffffffff811fa680>] lock_acquire+0x120/0x350
[ 479.192017] [<ffffffff828fe9c1>] _raw_spin_lock_irq+0x41/0x50
[ 479.192017] [<ffffffff813b28f8>] __add_to_page_cache_locked+0x2d8/0xc60
[ 479.192017] [<ffffffff813b56b2>] add_to_page_cache_lru+0x102/0x2f0
[ 479.192017] [<ffffffff813bc6dd>] do_read_cache_page+0x33d/0x870
[ 479.192017] [<ffffffff813bfd6e>] read_cache_page+0x5e/0x70
[ 479.192017] [<ffffffff81c2bab6>] read_dev_sector+0x216/0x330
[ 479.192017] [<ffffffff81c4166f>] read_lba.isra.1+0x3af/0x620
[ 479.192017] [<ffffffff81c428de>] efi_partition+0x2ee/0x14a0
[ 479.192017] [<ffffffff81c2f8c5>] check_partition+0x375/0x6f0
[ 479.192017] [<ffffffff81c2b10c>] rescan_partitions+0x1dc/0x7a0
[ 479.192017] [<ffffffff815e16a2>] __blkdev_get+0xa02/0xfe0
[ 479.192017] [<ffffffff815e1f3f>] blkdev_get+0x2bf/0x900
[ 479.192017] [<ffffffff81c23ebb>] add_disk+0xc5b/0xff0
[ 479.192017] [<ffffffff83570b53>] brd_init+0xea/0x203
[ 479.192017] [<ffffffff834d883e>] do_one_initcall+0x1c6/0x2a1
[ 479.192017] [<ffffffff834d8c1f>] kernel_init_freeable+0x306/0x3ba
[ 479.192017] [<ffffffff828df9a8>] kernel_init+0x18/0x180
[ 479.192017] [<ffffffff828ff602>] ret_from_fork+0x22/0x40
[ 479.192017] }
[ 479.192017] ... key at: [<ffffffff8445b2c0>] __key.42768+0x0/0x40
[ 479.192017] ... acquired at:
[ 479.192017] [<ffffffff811ec932>] check_irq_usage+0x72/0x170
[ 479.192017] [<ffffffff811f5dfe>] __lock_acquire+0x387e/0x62c0
[ 479.192017] [<ffffffff811fa680>] lock_acquire+0x120/0x350
[ 479.192017] [<ffffffff828fe7fb>] _raw_spin_lock+0x3b/0x50
[ 479.192017] [<ffffffff8141cb85>] shmem_charge+0xb5/0x420
[ 479.192017] [<ffffffff814fbadb>] collapse_shmem+0x11eb/0x2730
[ 479.192017] [<ffffffff815023fb>] khugepaged+0x509b/0x50a0
[ 479.192017] [<ffffffff811511a4>] kthread+0x244/0x2d0
[ 479.192017] [<ffffffff828ff602>] ret_from_fork+0x22/0x40
[ 479.192017]
[ 479.192017]
the dependencies between the lock to be acquired and HARDIRQ-irq-unsafe lock:
[ 479.192017] -> (&(&info->lock)->rlock){+.+.-.} ops: 1041 {
[ 479.192017] HARDIRQ-ON-W at:
[ 479.192017] [<ffffffff811f39f1>] __lock_acquire+0x1471/0x62c0
[ 479.192017] [<ffffffff811fa680>] lock_acquire+0x120/0x350
[ 479.192017] [<ffffffff828fe7fb>] _raw_spin_lock+0x3b/0x50
[ 479.192017] [<ffffffff814140a6>] shmem_getpage_gfp+0x1476/0x20a0
[ 479.192017] [<ffffffff81414eed>] shmem_fault+0x21d/0x6b0
[ 479.192017] [<ffffffff8144f3d3>] __do_fault+0x203/0x460
[ 479.192017] [<ffffffff8145ba16>] do_fault+0x236/0x19f0
[ 479.192017] [<ffffffff81461759>] handle_mm_fault+0x7d9/0x2420
[ 479.192017] [<ffffffff810c0bb1>] __do_page_fault+0x341/0xa00
[ 479.192017] [<ffffffff810c12c0>] do_page_fault+0x20/0x30
[ 479.192017] [<ffffffff82900d52>] page_fault+0x22/0x30
[ 479.192017] SOFTIRQ-ON-W at:
[ 479.192017] [<ffffffff811f3a72>] __lock_acquire+0x14f2/0x62c0
[ 479.192017] [<ffffffff811fa680>] lock_acquire+0x120/0x350
[ 479.192017] [<ffffffff828fe7fb>] _raw_spin_lock+0x3b/0x50
[ 479.192017] [<ffffffff814140a6>] shmem_getpage_gfp+0x1476/0x20a0
[ 479.192017] [<ffffffff81414eed>] shmem_fault+0x21d/0x6b0
[ 479.192017] [<ffffffff8144f3d3>] __do_fault+0x203/0x460
[ 479.192017] [<ffffffff8145ba16>] do_fault+0x236/0x19f0
[ 479.192017] [<ffffffff81461759>] handle_mm_fault+0x7d9/0x2420
[ 479.192017] [<ffffffff810c0bb1>] __do_page_fault+0x341/0xa00
[ 479.192017] [<ffffffff810c12c0>] do_page_fault+0x20/0x30
[ 479.192017] [<ffffffff82900d52>] page_fault+0x22/0x30
[ 479.192017] IN-RECLAIM_FS-W at:
[ 479.192017] [<ffffffff811f3ab8>] __lock_acquire+0x1538/0x62c0
[ 479.192017] [<ffffffff811fa680>] lock_acquire+0x120/0x350
[ 479.192017] [<ffffffff828fe7fb>] _raw_spin_lock+0x3b/0x50
[ 479.192017] [<ffffffff8140ccf2>] shmem_writepage+0x352/0xdd0
[ 479.192017] [<ffffffff81400d9c>] shrink_page_list+0x1cfc/0x35a0
[ 479.192017] [<ffffffff81403aed>] shrink_inactive_list+0x56d/0xe10
[ 479.192017] [<ffffffff8140561e>] shrink_zone_memcg+0x99e/0x10e0
[ 479.192017] [<ffffffff8140607b>] shrink_zone+0x31b/0xbd0
[ 479.192017] [<ffffffff81409ba4>] kswapd+0x924/0x1830
[ 479.192017] [<ffffffff811511a4>] kthread+0x244/0x2d0
[ 479.192017] [<ffffffff828ff602>] ret_from_fork+0x22/0x40
[ 479.192017] INITIAL USE at:
[ 479.192017] [<ffffffff811f3052>] __lock_acquire+0xad2/0x62c0
[ 479.192017] [<ffffffff811fa680>] lock_acquire+0x120/0x350
[ 479.192017] [<ffffffff828fe7fb>] _raw_spin_lock+0x3b/0x50
[ 479.192017] [<ffffffff814140a6>] shmem_getpage_gfp+0x1476/0x20a0
[ 479.192017] [<ffffffff81414eed>] shmem_fault+0x21d/0x6b0
[ 479.192017] [<ffffffff8144f3d3>] __do_fault+0x203/0x460
[ 479.192017] [<ffffffff8145ba16>] do_fault+0x236/0x19f0
[ 479.192017] [<ffffffff81461759>] handle_mm_fault+0x7d9/0x2420
[ 479.192017] [<ffffffff810c0bb1>] __do_page_fault+0x341/0xa00
[ 479.192017] [<ffffffff810c12c0>] do_page_fault+0x20/0x30
[ 479.192017] [<ffffffff82900d52>] page_fault+0x22/0x30
[ 479.192017] }
[ 479.192017] ... key at: [<ffffffff843f5620>] __key.41537+0x0/0x40
[ 479.192017] ... acquired at:
[ 479.192017] [<ffffffff811ec932>] check_irq_usage+0x72/0x170
[ 479.192017] [<ffffffff811f5dfe>] __lock_acquire+0x387e/0x62c0
[ 479.192017] [<ffffffff811fa680>] lock_acquire+0x120/0x350
[ 479.192017] [<ffffffff828fe7fb>] _raw_spin_lock+0x3b/0x50
[ 479.192017] [<ffffffff8141cb85>] shmem_charge+0xb5/0x420
[ 479.192017] [<ffffffff814fbadb>] collapse_shmem+0x11eb/0x2730
[ 479.192017] [<ffffffff815023fb>] khugepaged+0x509b/0x50a0
[ 479.192017] [<ffffffff811511a4>] kthread+0x244/0x2d0
[ 479.192017] [<ffffffff828ff602>] ret_from_fork+0x22/0x40
[ 479.192017]
[ 479.192017]
[ 479.192017] stack backtrace:
[ 479.192017] CPU: 1 PID: 35 Comm: khugepaged Not tainted 4.6.0-rc3-00048-g0025f684caf8 #2123
[ 479.192017] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.9.1-0-gb3ef39f-prebuilt.qemu-project.org 04/01/2014
[ 479.192017] 0000000000000001 ffff88000ec3f3d8 ffffffff81c68ce3 1ffff10001d87e90
[ 479.192017] ffff88000ec3f590 ffffffff83e69500 ffffffff83e81c80 ffff88000ec3f610
[ 479.192017] ffffffff811ec165 0000000000000000 0000000000000000 0000000000000001
[ 479.192017] Call Trace:
[ 479.192017] [<ffffffff81c68ce3>] dump_stack+0x95/0xe2
[ 479.192017] [<ffffffff811ec165>] check_usage+0xb75/0x12d0
[ 479.192017] [<ffffffff811eb5f0>] ? check_usage_backwards+0x2e0/0x2e0
[ 479.192017] [<ffffffff813d60e4>] ? get_page_from_freelist+0x6e4/0x1e00
[ 479.192017] [<ffffffff814d9275>] ? kasan_unpoison_shadow+0x35/0x50
[ 479.192017] [<ffffffff814d9308>] ? kasan_alloc_pages+0x38/0x40
[ 479.192017] [<ffffffff813d620c>] ? get_page_from_freelist+0x80c/0x1e00
[ 479.192017] [<ffffffff811e8c45>] ? __bfs+0x25/0x610
[ 479.192017] [<ffffffff811ec932>] check_irq_usage+0x72/0x170
[ 479.192017] [<ffffffff811f5dfe>] __lock_acquire+0x387e/0x62c0
[ 479.192017] [<ffffffff811f2580>] ? debug_show_all_locks+0x290/0x290
[ 479.192017] [<ffffffff811f2580>] ? debug_show_all_locks+0x290/0x290
[ 479.192017] [<ffffffff8123d637>] ? debug_lockdep_rcu_enabled+0x77/0x90
[ 479.192017] [<ffffffff815088b0>] ? drain_all_stock.part.12+0x530/0x530
[ 479.192017] [<ffffffff811fa680>] lock_acquire+0x120/0x350
[ 479.192017] [<ffffffff8141cb85>] ? shmem_charge+0xb5/0x420
[ 479.192017] [<ffffffff828fe7fb>] _raw_spin_lock+0x3b/0x50
[ 479.192017] [<ffffffff8141cb85>] ? shmem_charge+0xb5/0x420
[ 479.192017] [<ffffffff8141cb85>] shmem_charge+0xb5/0x420
[ 479.192017] [<ffffffff814fbadb>] collapse_shmem+0x11eb/0x2730
[ 479.192017] [<ffffffff814fa8f0>] ? khugepaged_alloc_page+0x1c0/0x1c0
[ 479.192017] [<ffffffff81001f5b>] ? trace_hardirqs_on_thunk+0x1b/0x1d
[ 479.192017] [<ffffffff8123d637>] ? debug_lockdep_rcu_enabled+0x77/0x90
[ 479.192017] [<ffffffff8123d637>] ? debug_lockdep_rcu_enabled+0x77/0x90
[ 479.192017] [<ffffffff8123d637>] ? debug_lockdep_rcu_enabled+0x77/0x90
[ 479.192017] [<ffffffff81c75bef>] ? radix_tree_next_chunk+0x1af/0x680
[ 479.192017] [<ffffffff814fe6df>] ? khugepaged+0x137f/0x50a0
[ 479.192017] [<ffffffff814f771c>] ? khugepaged_find_target_node+0x14c/0x190
[ 479.192017] [<ffffffff815023fb>] khugepaged+0x509b/0x50a0
[ 479.192017] [<ffffffff814fe509>] ? khugepaged+0x11a9/0x50a0
[ 479.192017] [<ffffffff811f2580>] ? debug_show_all_locks+0x290/0x290
[ 479.192017] [<ffffffff811bbe74>] ? pick_next_task_fair+0x7a4/0x1190
[ 479.192017] [<ffffffff814fd360>] ? khugepaged_scan_abort.part.6+0xb0/0xb0
[ 479.192017] [<ffffffff828fec67>] ? _raw_spin_unlock_irq+0x37/0x50
[ 479.192017] [<ffffffff8116be48>] ? finish_task_switch+0x178/0x5d0
[ 479.192017] [<ffffffff8116be1c>] ? finish_task_switch+0x14c/0x5d0
[ 479.192017] [<ffffffff828f122c>] ? __schedule+0xa4c/0x2920
[ 479.192017] [<ffffffff811d5190>] ? __wake_up_common+0x150/0x150
[ 479.192017] [<ffffffff828f07e0>] ? firmware_map_remove+0x93/0x93
[ 479.192017] [<ffffffff828fecd7>] ? _raw_spin_unlock_irqrestore+0x57/0x70
[ 479.192017] [<ffffffff811ee5e5>] ? trace_hardirqs_on_caller+0x405/0x590
[ 479.192017] [<ffffffff81150e8e>] ? __kthread_parkme+0x16e/0x240
[ 479.192017] [<ffffffff811511a4>] kthread+0x244/0x2d0
[ 479.192017] [<ffffffff814fd360>] ? khugepaged_scan_abort.part.6+0xb0/0xb0
[ 479.192017] [<ffffffff81150f60>] ? __kthread_parkme+0x240/0x240
[ 479.192017] [<ffffffff828ff602>] ret_from_fork+0x22/0x40
[ 479.192017] [<ffffffff81150f60>] ? __kthread_parkme+0x240/0x240
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment