Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
https://github.com/0day-ci/linux Michal-Hocko/scope-GFP_NOFS-api/20161215-230237
commit adec70d40578b3a12dd16a67689975c8dac7f15a
Author: Michal Hocko <mhocko(a)suse.com>
AuthorDate: Thu Dec 15 15:07:08 2016 +0100
Commit: 0day robot <fengguang.wu(a)intel.com>
CommitDate: Thu Dec 15 23:02:42 2016 +0800
xfs: introduce and use KM_NOLOCKDEP to silence reclaim lockdep false positives
Now that the page allocator offers __GFP_NOLOCKDEP let's introduce
KM_NOLOCKDEP alias for the xfs allocation APIs. While we are at it
also change KM_NOFS users introduced by b17cb364dbbb ("xfs: fix missing
KM_NOFS tags to keep lockdep happy") and use the new flag for them
instead. There is really no reason to make these allocations contexts
weaker just because of the lockdep which even might not be enabled
in most cases.
Signed-off-by: Michal Hocko <mhocko(a)suse.com>
+-----------------------------------------------------------+------------+------------+-------------+
| | c65e02804f | adec70d405 |
v4.9_122415 |
+-----------------------------------------------------------+------------+------------+-------------+
| boot_successes | 82 | 19 | 8
|
| boot_failures | 27 | 10 | 5
|
| invoked_oom-killer:gfp_mask=0x | 2 | |
|
| Mem-Info | 2 | |
|
| Kernel_panic-not_syncing:Attempted_to_kill_init!exitcode= | 25 | 1 | 2
|
| kernel_BUG_at_fs/xfs/kmem.h | 0 | 9 | 3
|
| invalid_opcode:#[##]PREEMPT_SMP_KASAN | 0 | 9 | 3
|
| Kernel_panic-not_syncing:Fatal_exception | 0 | 9 | 3
|
+-----------------------------------------------------------+------------+------------+-------------+
[ 77.808923] UDF-fs: warning (device sda): udf_fill_super: No partition found (2)
[ 77.848620] Mount JFS Failure: -22
[ 77.849832] ------------[ cut here ]------------
[ 77.850976] kernel BUG at fs/xfs/kmem.h:48!
[ 77.852375] invalid opcode: 0000 [#1] PREEMPT SMP KASAN
[ 77.853622] CPU: 0 PID: 476 Comm: mount Not tainted 4.9.0-mm1-00162-gadec70d #1
[ 77.855437] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS
1.9.3-20161025_171302-gandalf 04/01/2014
[ 77.857777] task: ffff880014e29000 task.stack: ffff880014d30000
[ 77.859146] RIP: 0010:kmem_alloc+0x184/0x190
[ 77.860222] RSP: 0018:ffff880014d37af0 EFLAGS: 00010297
[ 77.861570] RAX: ffff880014e29000 RBX: 0000000000000020 RCX: ffffffff81252af5
[ 77.863145] RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffffffff85d824b8
[ 77.864721] RBP: ffff880014d37b38 R08: 1ffff10003203670 R09: ffffed0003203670
[ 77.866294] R10: 0000000000000001 R11: ffffed0003203670 R12: ffff880019805400
[ 77.867873] R13: 00000000000000b0 R14: 0000000000000031 R15: ffff880019805400
[ 77.869444] FS: 00007f8b4eb97700(0000) GS:ffff88001a000000(0000)
knlGS:0000000000000000
[ 77.871393] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 77.872722] CR2: 00007f1df172a000 CR3: 0000000019e6a000 CR4: 00000000000406b0
[ 77.874294] Call Trace:
[ 77.875043] ? vsnprintf+0x10b/0xd30
[ 77.876000] ? ftrace_likely_update+0x4f/0x2b0
[ 77.877107] xfs_alloc_buftarg+0x28/0x150
git bisect start 82b69cb3e9d3aed7cad02c4c7d4be056755e3c94
69973b830859bc6529a7a0468ba0d80ee5117826 --
git bisect good 4d4f4f53bba1f76fbd87db32ee294b46734e0cd1 # 02:10 25+ 15 Merge
'linux-review/Cong-Wang/9p-fix-a-potential-acl-leak/20161214-025450' into
devel-hourly-2016122415
git bisect bad 76e36ec15de2a235724c4bcb9c1303fbaa0bcc78 # 02:25 0- 3 Merge
'linux-review/Geert-Uytterhoeven/spi-fsl-lpspi-Pre-initialize-ret-in-fsl_lpspi_transfer_one_msg/20161214-203929'
into devel-hourly-2016122415
git bisect bad 39f1ee66011186cf68eae85ee28e124ac3321854 # 02:36 0- 2 Merge
'linux-review/Mark-Jackson/Update-Nanobone-dts-file-to-add-external-FRAM-chip/20161215-195520'
into devel-hourly-2016122415
git bisect good 074ad3f7d46f98800926b382c7324efa9aa48cb2 # 02:56 26+ 12 Merge
'linux-review/Sebastian-Ott/IB-core-fix-unmap_sg-argument/20161213-231530' into
devel-hourly-2016122415
git bisect good c202577678214107ed2583cf61413e4a656a4ca8 # 03:11 27+ 6 Merge
'linux-review/Jassi-Brar/usb-gadget-uvc-fix-UVC_ATTR-macro-for-UVCG_OPTS_ATTR/20161211-194904'
into devel-hourly-2016122415
git bisect good 2242cdf9ab42dcf023101dfe4b143c9a682851a4 # 03:32 27+ 14 Merge
'linux-review/Dave-Jiang/x86-fix-kaslr-and-memmap-collision/20161221-123313' into
devel-hourly-2016122415
git bisect good 1dabdb6f22b6efea6f232fe728f0e18364af106b # 03:51 26+ 14 Merge
'pcmoore-selinux/stable-4.10' into devel-hourly-2016122415
git bisect bad f8e96ce256efa4b5586f88296013558b631645f2 # 04:03 1- 3 Merge
'linux-review/Michal-Hocko/scope-GFP_NOFS-api/20161215-230237' into
devel-hourly-2016122415
git bisect bad 0c4149ab59f256a70ff844f45bf1257a1bdd584d # 04:30 0- 2 xfs: use
memalloc_nofs_{save,restore} instead of memalloc_noio*
git bisect bad adec70d40578b3a12dd16a67689975c8dac7f15a # 04:50 0- 1 xfs:
introduce and use KM_NOLOCKDEP to silence reclaim lockdep false positives
git bisect good c65e02804f4a2e4567689a5b1e748a9a309e0638 # 05:19 26+ 10 lockdep:
allow to disable reclaim lockup detection
# first bad commit: [adec70d40578b3a12dd16a67689975c8dac7f15a] xfs: introduce and use
KM_NOLOCKDEP to silence reclaim lockdep false positives
git bisect good c65e02804f4a2e4567689a5b1e748a9a309e0638 # 05:28 81+ 27 lockdep:
allow to disable reclaim lockup detection
# extra tests with CONFIG_DEBUG_INFO_REDUCED
git bisect bad adec70d40578b3a12dd16a67689975c8dac7f15a # 05:43 0- 2 xfs:
introduce and use KM_NOLOCKDEP to silence reclaim lockdep false positives
# extra tests on HEAD of linux-devel/devel-hourly-2016122415
git bisect bad 82b69cb3e9d3aed7cad02c4c7d4be056755e3c94 # 05:44 0- 5 0day
head guard for 'devel-hourly-2016122415'
# extra tests on tree/branch linux-review/Michal-Hocko/scope-GFP_NOFS-api/20161215-230237
git bisect bad 877bb1c8b5aee516e12301948d2886315fd5d77f # 06:38 3- 2 Revert
"ext4: fix wrong gfp type under transaction"
# extra tests with first bad commit reverted
git bisect good 77f37698ea92009ea68ead79fa6241610c7a52d1 # 07:45 76+ 37 Revert
"xfs: introduce and use KM_NOLOCKDEP to silence reclaim lockdep false
positives"
# extra tests on tree/branch linus/master
git bisect good 7c0f6ba682b9c7632072ffbedf8d328c8f3c42ba # 08:46 75+ 41 Replace
<asm/uaccess.h> with <linux/uaccess.h> globally
# extra tests on tree/branch linux-next/master
git bisect good 84ede50b623fb45c4c026c80d0abf8cc5193f041 # 12:41 75+ 33 Add
linux-next specific files for 20161224
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation