Greetings, 0day kernel testing robot got the below dmesg and the first bad commit is git://git.cmpxchg.org/linux-mmotm.git master commit b7607a42932ef0a2d108775c08ebe737be0152db Author: Johannes Weiner AuthorDate: Fri Jun 2 22:01:13 2017 +0000 Commit: Johannes Weiner CommitDate: Fri Jun 2 22:01:13 2017 +0000 mm: vmstat: move slab statistics from zone to node counters Patch series "mm: per-lruvec slab stats" Josef is working on a new approach to balancing slab caches and the page cache. For this to work, he needs slab cache statistics on the lruvec level. These patches implement that by adding infrastructure that allows updating and reading generic VM stat items per lruvec, then switches some existing VM accounting sites, including the slab accounting ones, to this new cgroup-aware API. I'll follow up with more patches on this, because there is actually substantial simplification that can be done to the memory controller when we replace private memcg accounting with making the existing VM accounting sites cgroup-aware. But this is enough for Josef to base his slab reclaim work on, so here goes. This patch (of 5): To re-implement slab cache vs. page cache balancing, we'll need the slab counters at the lruvec level, which, ever since lru reclaim was moved from the zone to the node, is the intersection of the node, not the zone, and the memcg. We could retain the per-zone counters for when the page allocator dumps its memory information on failures, and have counters on both levels - which on all but NUMA node 0 is usually redundant. But let's keep it simple for now and just move them. If anybody complains we can restore the per-zone counters. Link: http://lkml.kernel.org/r/20170530181724.27197-3-hannes@cmpxchg.org Signed-off-by: Johannes Weiner Cc: Josef Bacik Cc: Michal Hocko Cc: Vladimir Davydov Cc: Rik van Riel Signed-off-by: Andrew Morton be708f095c mm/zswap.c: delete an error message for a failed memory allocation in zswap_dstmem_prepare() b7607a4293 mm: vmstat: move slab statistics from zone to node counters 5c84fce565 pci: test for unexpectedly disabled bridges +------------------------------------------+------------+------------+------------+ | | be708f095c | b7607a4293 | mmotm/v4.1 | +------------------------------------------+------------+------------+------------+ | boot_successes | 35 | 0 | 0 | | boot_failures | 0 | 15 | 13 | | BUG:unable_to_handle_kernel | 0 | 15 | 13 | | Oops:#[##] | 0 | 15 | 13 | | EIP:mod_node_page_state | 0 | 15 | 13 | | Kernel_panic-not_syncing:Fatal_exception | 0 | 15 | 13 | +------------------------------------------+------------+------------+------------+ [ 0.000000] lowmem : 0xc0000000 - 0xd8ed2000 ( 398 MB) [ 0.000000] .init : 0xcae27000 - 0xcaec4000 ( 628 kB) [ 0.000000] .data : 0xcaa7df81 - 0xcae12ce0 (3667 kB) [ 0.000000] .text : 0xca400000 - 0xcaa7df81 (6647 kB) [ 0.000000] Checking if this processor honours the WP bit even in supervisor mode...Ok. [ 0.000000] BUG: unable to handle kernel paging request at 0c48e000 [ 0.000000] IP: mod_node_page_state+0x1b/0x72 [ 0.000000] *pde = 00000000 [ 0.000000] [ 0.000000] Oops: 0000 [#1] PREEMPT SMP [ 0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 4.12.0-rc3-mm1-00151-gb7607a4 #1 [ 0.000000] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014 [ 0.000000] task: cad7dec0 task.stack: cad78000 [ 0.000000] EIP: mod_node_page_state+0x1b/0x72 [ 0.000000] EFLAGS: 00210082 CPU: 0 [ 0.000000] EAX: cae0ca80 EBX: 00000007 ECX: 00000001 EDX: 00000006 [ 0.000000] ESI: cae0ca80 EDI: 00000000 EBP: cad79ef8 ESP: cad79edc [ 0.000000] DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068 [ 0.000000] CR0: 80050033 CR2: 0c48e000 CR3: 0aecf000 CR4: 00000690 [ 0.000000] Call Trace: [ 0.000000] new_slab+0x2e0/0x352 [ 0.000000] kmem_cache_open+0x163/0x2fb [ 0.000000] __kmem_cache_create+0xc/0x35 [ 0.000000] create_boot_cache+0x2f/0x4f [ 0.000000] kmem_cache_init+0x31/0xff [ 0.000000] start_kernel+0x182/0x30a [ 0.000000] i386_start_kernel+0x91/0x95 [ 0.000000] startup_32_smp+0x16b/0x16d [ 0.000000] Code: f0 01 1c 95 70 da d7 ca 83 c4 10 5b 5e 5f 5d c3 55 89 e5 57 56 53 83 ec 10 89 c6 89 55 ec 89 4d e4 8b b8 e0 09 00 00 8d 5c 17 01 <64> 8a 07 0f be c0 64 8a 0b 88 4d eb 0f be d1 89 55 f0 8b 4d e4 [ 0.000000] EIP: mod_node_page_state+0x1b/0x72 SS:ESP: 0068:cad79edc [ 0.000000] CR2: 000000000c48e000 [ 0.000000] ---[ end trace 0000000000000000 ]--- [ 0.000000] Kernel panic - not syncing: Fatal exception # HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD git bisect start 79efbbdda1000ee392926f56740723c9bbbe2d34 5ed02dbb497422bf225783f46e6eadd237d23d6b -- git bisect bad a024734e940f50d1c4c2d46711fddb4955ec2b10 # 11:17 B 0 7 18 0 Merge 'linux-review/Varun-Prakash/scsi-cxgb4i-libcxgbi-in-error-case-RST-tcp-conn/20170527-230810' into devel-hourly-2017060504 git bisect bad 079adaf9e6f8cfbd1c36bbaf3388c0155ed96cf9 # 11:37 B 0 2 17 4 Merge 'linux-review/Badhri-Jagan-Sridharan/usb-typec-Add-a-sysfs-node-to-manage-port-type/20170531-063420' into devel-hourly-2017060504 git bisect bad b1d0611479a7bab6d7ff3ece915361161654df3a # 11:56 B 0 3 16 2 Merge 'linux-review/Jonas-Gorski/regmap-make-LZO-cache-optional/20170603-023755' into devel-hourly-2017060504 git bisect bad c474df1d980d425b4c24fc8c686a100f0c6f371e # 12:17 B 0 5 18 2 Merge 'linux-review/Keerthy/mfd-Remove-redundant-i2c_device_id/20170604-172809' into devel-hourly-2017060504 git bisect bad 056f64858c1cec5eafb8d6605cbdc64d8db27c6a # 12:32 B 0 2 13 0 Merge 'linux-review/Hangbin-Liu/xfrm-fix-xfrm_dev_event-missing-when-compile-without-CONFIG_XFRM_OFFLOAD/20170601-153529' into devel-hourly-2017060504 git bisect bad f77f0dc32808069f130fff10a4b3e9236c685350 # 12:56 B 0 2 14 1 Merge 'linux-review/Lu-Baolu/usb-early-Remove-trace_printk-callers-in-xhci-dbc/20170603-172245' into devel-hourly-2017060504 git bisect bad d105b9d437eb9e981c0da66a583e19cc4f7b8b0e # 13:24 B 0 1 14 2 Merge 'linux-review/Mike-Rapoport/mm-introduce-MADV_RESET_HUGEPAGE/20170529-133950' into devel-hourly-2017060504 git bisect bad f726d86aed3ea139692bea2efca1495172533522 # 13:40 B 0 7 19 1 Merge 'linux-review/Yu-Zhao/swap-cond_resched-in-swap_cgroup_prepare/20170605-040701' into devel-hourly-2017060504 git bisect good 7b855243335920f1c743009fbf381e911cae6f34 # 13:50 G 11 0 0 0 0day base guard for 'devel-hourly-2017060504' git bisect good 6f45b8084319746a1811cb64b148a5b58f693274 # 14:03 G 11 0 0 0 mm-swap-sort-swap-entries-before-free-fix git bisect bad 79c5b190b4920cc92f397f60c56693f13dc1aca9 # 14:10 B 0 2 13 0 fs/seq_file.c: delete small-value optimization git bisect bad 62cc055d6dd9181f7b501fa7e57afa1b0523d55f # 14:24 B 0 1 12 0 powerpc,mmap: properly account for stack randomization in mmap_base git bisect bad d3951468b503825f402da036a565aab9ebf9f07e # 14:41 B 0 5 18 2 mm/zsmalloc.c: fix -Wunneeded-internal-declaration warning git bisect bad 56603bfc91e6d0603e07da23dd02e910b8e33dd5 # 14:56 B 0 1 12 0 mm: memcontrol: account slab stats per lruvec git bisect bad b7607a42932ef0a2d108775c08ebe737be0152db # 15:21 B 0 9 20 0 mm: vmstat: move slab statistics from zone to node counters git bisect good c5d2bbe9c40b95a388ec6515be0ea69885f85ef0 # 15:42 G 11 0 0 0 mm/zswap.c: improve a size determination in zswap_frontswap_init() git bisect good be708f095c6867684d4d6a5eed8d0ac712d37b1e # 16:18 G 11 0 0 0 mm/zswap.c: delete an error message for a failed memory allocation in zswap_dstmem_prepare() # first bad commit: [b7607a42932ef0a2d108775c08ebe737be0152db] mm: vmstat: move slab statistics from zone to node counters git bisect good be708f095c6867684d4d6a5eed8d0ac712d37b1e # 16:23 G 31 0 0 0 mm/zswap.c: delete an error message for a failed memory allocation in zswap_dstmem_prepare() # extra tests with CONFIG_DEBUG_INFO_REDUCED git bisect bad b7607a42932ef0a2d108775c08ebe737be0152db # 16:40 B 0 1 12 0 mm: vmstat: move slab statistics from zone to node counters # extra tests on HEAD of linux-devel/devel-hourly-2017060504 git bisect bad 79efbbdda1000ee392926f56740723c9bbbe2d34 # 16:45 B 0 13 27 0 0day head guard for 'devel-hourly-2017060504' # extra tests on tree/branch mmotm/master git bisect bad 5c84fce56580d5297cd473b57f893e362b332109 # 17:14 B 0 3 14 0 pci: test for unexpectedly disabled bridges --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/lkp Intel Corporation