[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20200218005031.GF14493@shao2-debian>
Date: Tue, 18 Feb 2020 08:50:31 +0800
From: kernel test robot <lkp@...el.com>
To: Joonsoo Kim <iamjoonsoo.kim@....com>
Cc: 0day robot <lkp@...el.com>, LKML <linux-kernel@...r.kernel.org>,
lkp@...ts.01.org
Subject: [mm/swap] 68a35c8d99: kernel_BUG_at_mm/swap.c
FYI, we noticed the following commit (built with gcc-7):
commit: 68a35c8d997ac72b74560a35930478953b888d75 ("mm/swap: count a new anonymous page as a reclaim_state's rotate")
https://github.com/0day-ci/linux/commits/js1304-gmail-com/workingset-protection-detection-on-the-anonymous-LRU-list/20200213-111547
in testcase: boot
on test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 8G
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+------------------------------------------+------------+------------+
| | ffdd1d9775 | 68a35c8d99 |
+------------------------------------------+------------+------------+
| boot_successes | 8 | 0 |
| boot_failures | 0 | 12 |
| kernel_BUG_at_mm/swap.c | 0 | 12 |
| invalid_opcode:#[##] | 0 | 12 |
| RIP:pagevec_lru_move_fn | 0 | 12 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 12 |
+------------------------------------------+------------+------------+
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <lkp@...el.com>
[ 8.259968] kernel BUG at mm/swap.c:219!
[ 8.260841] invalid opcode: 0000 [#1] SMP PTI
[ 8.261592] CPU: 0 PID: 911 Comm: modprobe Not tainted 5.6.0-rc1-00025-g68a35c8d997ac7 #1
[ 8.262871] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014
[ 8.262871] RIP: 0010:pagevec_lru_move_fn+0x84/0xeb
[ 8.262871] Code: 49 8d bc 24 80 49 00 00 e8 b4 30 88 00 48 89 c1 49 81 fe 08 d2 16 81 75 1e 49 8b 47 08 48 89 c2 83 e2 02 74 12 4d 85 ed 74 02 <0f> 0b 48 83 e0 fd 49 89 d5 49 89 47 08 4c 89 e6 4c 89 ff 48 89 0c
[ 8.262871] RSP: 0018:ffffc90000197c48 EFLAGS: 00010002
[ 8.262871] RAX: dead000000000102 RBX: ffff88823fc28f40 RCX: 0000000000000246
[ 8.262871] RDX: 0000000000000002 RSI: 0000000000000000 RDI: ffff88823fff6000
[ 8.262871] RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000002
[ 8.262871] R10: ffff88822a7877f0 R11: ffff88822a787278 R12: ffff88823fff6000
[ 8.262871] R13: 0000000000000002 R14: ffffffff8116d208 R15: ffffea0008ff0d80
[ 8.262871] FS: 0000000000000000(0000) GS:ffff88823fc00000(0000) knlGS:0000000000000000
[ 8.262871] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 8.262871] CR2: 00007f7381317000 CR3: 00000001cc71c000 CR4: 00000000000406f0
[ 8.262871] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 8.262871] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 8.262871] Call Trace:
[ 8.262871] lru_add_drain_cpu+0x26/0xd1
[ 8.262871] lru_add_drain+0x18/0x20
[ 8.262871] unmap_region+0x4b/0x10a
[ 8.262871] ? terminate_walk+0x48/0x65
[ 8.262871] ? path_openat+0xa2e/0xaa3
[ 8.262871] ? vma_gap_callbacks_compute_max+0x12/0x6c
[ 8.262871] ? vma_gap_callbacks_propagate+0x1b/0x2b
[ 8.262871] ? __vma_rb_erase+0x15d/0x18f
[ 8.262871] __do_munmap+0x2a7/0x312
[ 8.262871] mmap_region+0xed/0x431
[ 8.262871] do_mmap+0x33e/0x3af
[ 8.262871] vm_mmap_pgoff+0xa0/0xf6
[ 8.262871] ksys_mmap_pgoff+0xa9/0xd4
[ 8.262871] do_syscall_64+0x4e/0x5b
[ 8.262871] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 8.262871] RIP: 0033:0x7f73811166fa
[ 8.262871] Code: cc 55 48 89 f5 53 48 89 fb 74 35 4d 63 f0 4c 63 fa 4d 89 e9 4d 89 f0 4d 63 d4 4c 89 fa 48 89 ee 48 89 df b8 09 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 4b 5b 5d 41 5c 41 5d 41 5e 41 5f c3 0f 1f 00
[ 8.262871] RSP: 002b:00007fff7cd3f8c8 EFLAGS: 00000206 ORIG_RAX: 0000000000000009
[ 8.262871] RAX: ffffffffffffffda RBX: 00007f73810fb000 RCX: 00007f73811166fa
[ 8.262871] RDX: 0000000000000003 RSI: 0000000000002000 RDI: 00007f73810fb000
[ 8.262871] RBP: 0000000000002000 R08: 0000000000000000 R09: 0000000000024000
[ 8.262871] R10: 0000000000000812 R11: 0000000000000206 R12: 0000000000000812
[ 8.262871] R13: 0000000000024000 R14: 0000000000000000 R15: 0000000000000003
[ 8.262871] Modules linked in:
[ 8.262871] ---[ end trace 77113d4017522214 ]---
To reproduce:
# build kernel
cd linux
cp config-5.6.0-rc1-00025-g68a35c8d997ac7 .config
make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 olddefconfig prepare modules_prepare bzImage
git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email
Thanks,
lkp
View attachment "config-5.6.0-rc1-00025-g68a35c8d997ac7" of type "text/plain" (115256 bytes)
View attachment "job-script" of type "text/plain" (4458 bytes)
Download attachment "dmesg.xz" of type "application/x-xz" (9236 bytes)
Powered by blists - more mailing lists