[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20161127181656.GD2501@yexl-desktop>
Date: Mon, 28 Nov 2016 02:16:56 +0800
From: kernel test robot <xiaolong.ye@...el.com>
To: "Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>
Cc: Boris Zhmurov <bb@...nelpanic.ru>,
Michal Hocko <mhocko@...nel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Johannes Weiner <hannes@...xchg.org>,
Vlastimil Babka <vbabka@...e.cz>,
LKML <linux-kernel@...r.kernel.org>,
"Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>, lkp@...org
Subject: [lkp] [mm] e7c1db75fe:
BUG:sleeping_function_called_from_invalid_context_at_mm/page_alloc.c
FYI, we noticed the following commit:
commit e7c1db75fed821a961ce1ca2b602b08e75de0cd8 ("mm: Prevent __alloc_pages_nodemask() RCU CPU stall warnings")
https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/next
in testcase: boot
on test machine: qemu-system-x86_64 -enable-kvm -cpu Nehalem -smp 2 -m 1G
caused below changes:
+----------------------------------------------------------------------+------------+------------+
| | 7cebc6b63b | e7c1db75fe |
+----------------------------------------------------------------------+------------+------------+
| boot_successes | 0 | 0 |
| boot_failures | 14 | 14 |
| invoked_oom-killer:gfp_mask=0x | 2 | |
| Mem-Info | 2 | |
| Kernel_panic-not_syncing:Out_of_memory_and_no_killable_processes | 2 | |
| BUG:sleeping_function_called_from_invalid_context_at_mm/swap.c | 12 | 14 |
| calltrace:run_init_process | 12 | 14 |
| calltrace:SyS_execve | 7 | 5 |
| calltrace:SyS_exit_group | 12 | 13 |
| calltrace:SyS_read | 1 | |
| WARNING:at_fs/sysfs/dir.c:#sysfs_warn_dup | 2 | 1 |
| calltrace:parport_pc_init | 2 | 1 |
| calltrace:SyS_finit_module | 2 | 1 |
| WARNING:at_lib/kobject.c:#kobject_add_internal | 2 | 1 |
| calltrace:SyS_munmap | 2 | |
| BUG:sleeping_function_called_from_invalid_context_at_mm/page_alloc.c | 0 | 8 |
| calltrace:SyS_clone | 0 | 1 |
+----------------------------------------------------------------------+------------+------------+
[ 8.953192] BUG: sleeping function called from invalid context at mm/page_alloc.c:3746
[ 8.956353] in_atomic(): 1, irqs_disabled(): 1, pid: 0, name: swapper/0
[ 8.958262] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G W 4.9.0-rc1-00048-ge7c1db7 #1
[ 8.961309] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[ 8.964341] ffff880029a03720 ffffffff81472549 ffffffff81e0d4c0 0000000002281220
[ 8.967460] ffff880029a03738 ffffffff810a8583 ffff8800364be080 ffff880029a037c0
[ 8.970582] ffffffff81190be5 ffffffff81e0d4c0 ffffffff81e0d4c0 ffffffff81e0d4c0
[ 8.973694] Call Trace:
[ 8.974871] <IRQ>
[ 8.975317] [<ffffffff81472549>] dump_stack+0x63/0x8a
[ 8.977116] [<ffffffff810a8583>] ___might_sleep+0xd3/0x120
[ 8.978852] [<ffffffff81190be5>] __alloc_pages_nodemask+0xd5/0x2f0
[ 8.980663] [<ffffffff811e5335>] alloc_pages_current+0x95/0x140
[ 8.982401] [<ffffffff811efd70>] new_slab+0x3c0/0x5a0
[ 8.984001] [<ffffffff811f1b4c>] ? kfree+0x15c/0x170
[ 8.985648] [<ffffffff811f1110>] ___slab_alloc+0x3a0/0x4b0
[ 8.987316] [<ffffffff818734a1>] ? inet_twsk_alloc+0x41/0x160
[ 8.989031] [<ffffffff818734a1>] ? inet_twsk_alloc+0x41/0x160
[ 8.990743] [<ffffffff811f1240>] __slab_alloc+0x20/0x40
[ 8.992365] [<ffffffff811f264f>] kmem_cache_alloc+0x17f/0x1c0
[ 8.994079] [<ffffffff818734a1>] inet_twsk_alloc+0x41/0x160
[ 8.995763] [<ffffffff8189103e>] tcp_time_wait+0x4e/0x290
[ 8.997414] [<ffffffff81884dbb>] tcp_rcv_state_process+0xd6b/0xd70
[ 8.999199] [<ffffffff813fd0fb>] ? security_sock_rcv_skb+0x3b/0x50
[ 9.000989] [<ffffffff8188e532>] tcp_v4_do_rcv+0xb2/0x200
[ 9.002649] [<ffffffff8188fde0>] tcp_v4_rcv+0x910/0xa10
[ 9.004270] [<ffffffff81905000>] ? ipv6_chk_mcast_addr+0x120/0x140
[ 9.006068] [<ffffffff818e03a8>] ? ip6_input_finish+0xf8/0x460
[ 9.007792] [<ffffffff81868a71>] ip_local_deliver_finish+0xa1/0x1d0
[ 9.009590] [<ffffffff81868d50>] ip_local_deliver+0x60/0xe0
[ 9.011266] [<ffffffff8188f4ba>] ? tcp_v4_early_demux+0x13a/0x150
[ 9.013038] [<ffffffff818686fd>] ip_rcv_finish+0xdd/0x3b0
[ 9.014693] [<ffffffff81869033>] ip_rcv+0x263/0x390
[ 9.016257] [<ffffffff81664fe0>] ? e1000_intr+0xa0/0x120
[ 9.017904] [<ffffffff81824993>] __netif_receive_skb_core+0x513/0xa60
[ 9.019733] [<ffffffff8105a52b>] ? native_apic_msr_write+0x2b/0x30
[ 9.021513] [<ffffffff8189521c>] ? tcp4_gro_receive+0x11c/0x1c0
[ 9.023267] [<ffffffff81824ef8>] __netif_receive_skb+0x18/0x60
[ 9.024998] [<ffffffff81824f78>] netif_receive_skb_internal+0x38/0xb0
[ 9.026822] [<ffffffff81826054>] napi_gro_receive+0xd4/0x130
[ 9.028514] [<ffffffff816679aa>] e1000_clean_rx_irq+0x19a/0x510
[ 9.030252] [<ffffffff81666e00>] e1000_clean+0x260/0x8c0
[ 9.031892] [<ffffffff810b7798>] ? account_entity_enqueue+0xd8/0x100
[ 9.033707] [<ffffffff818257f9>] net_rx_action+0x229/0x390
[ 9.035367] [<ffffffff81971934>] __do_softirq+0x104/0x2ab
[ 9.037032] [<ffffffff81086bf1>] irq_exit+0xf1/0x100
[ 9.038616] [<ffffffff81971674>] do_IRQ+0x54/0xd0
[ 9.040149] [<ffffffff8196f50c>] common_interrupt+0x8c/0x8c
[ 9.041828] <EOI>
[ 9.042256] [<ffffffff8196e2e6>] ? native_safe_halt+0x6/0x10
[ 9.044674] [<ffffffff8196dfe0>] default_idle+0x20/0xf0
[ 9.046295] [<ffffffff81038d1f>] arch_cpu_idle+0xf/0x20
[ 9.047923] [<ffffffff8196e453>] default_idle_call+0x23/0x30
[ 9.049628] [<ffffffff810c75d9>] cpu_startup_entry+0x189/0x200
[ 9.051355] [<ffffffff81960785>] rest_init+0x85/0x90
[ 9.053096] [<ffffffff81ffaf7a>] start_kernel+0x407/0x414
[ 9.054860] [<ffffffff81ffa120>] ? early_idt_handler_array+0x120/0x120
[ 9.056765] [<ffffffff81ffa2d6>] x86_64_start_reservations+0x2a/0x2c
[ 9.058658] [<ffffffff81ffa415>] x86_64_start_kernel+0x13d/0x14c
To reproduce:
git clone git://git.kernel.org/pub/scm/linux/kernel/git/wfg/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email
Thanks,
Xiaolong
View attachment "config-4.9.0-rc1-00048-ge7c1db7" of type "text/plain" (153714 bytes)
View attachment "job-script" of type "text/plain" (4127 bytes)
Download attachment "dmesg.xz" of type "application/octet-stream" (15100 bytes)
Powered by blists - more mailing lists