[<prev] [next>] [day] [month] [year] [list]
Message-ID: <592f2a0a.82djxxjbsYDCtigP%fengguang.wu@intel.com>
Date: Thu, 01 Jun 2017 04:39:38 +0800
From: kernel test robot <fengguang.wu@...el.com>
To: Johannes Weiner <hannes@...xchg.org>
Cc: LKP <lkp@...org>, linux-mm@...ck.org, linux-kernel@...r.kernel.org,
Linux Memory Management List <linux-mm@...ck.org>,
Andrew Morton <akpm@...ux-foundation.org>, wfg@...ux.intel.com
Subject: [mm: vmstat] b6bc672448: BUG: unable to handle kernel paging
request at 1c435000
Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
commit b6bc6724488ac9a149f4ee50d9f036b0fe2420c5
Author: Johannes Weiner <hannes@...xchg.org>
AuthorDate: Wed May 31 09:17:23 2017 +1000
Commit: Stephen Rothwell <sfr@...b.auug.org.au>
CommitDate: Wed May 31 09:17:23 2017 +1000
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 <hannes@...xchg.org>
Cc: Josef Bacik <josef@...icpanda.com>
Cc: Michal Hocko <mhocko@...e.com>
Cc: Vladimir Davydov <vdavydov.dev@...il.com>
Cc: Rik van Riel <riel@...hat.com>
Signed-off-by: Andrew Morton <akpm@...ux-foundation.org>
fa812e869a mm/zswap.c: delete an error message for a failed memory allocation in zswap_dstmem_prepare()
b6bc672448 mm: vmstat: move slab statistics from zone to node counters
f2882f46b6 Add linux-next specific files for 20170531
+-------------------------------------------------+------------+------------+---------------+
| | fa812e869a | b6bc672448 | next-20170531 |
+-------------------------------------------------+------------+------------+---------------+
| 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_state | 0 | 15 | 13 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 15 | 13 |
| BUG:kernel_reboot-without-warning_in_boot_stage | 0 | 2 | |
| BUG:kernel_reboot-without-warning_in_test_stage | 0 | 5 | |
| BUG:kernel_hang_in_test_stage | 0 | 0 | 1 |
| BUG:kernel_in_stage | 0 | 0 | 2 |
+-------------------------------------------------+------------+------------+---------------+
[ 0.000000] lowmem : 0xc0000000 - 0xdffe0000 ( 511 MB)
[ 0.000000] .init : 0xc1e82000 - 0xc1f47000 ( 788 kB)
[ 0.000000] .data : 0xc1815d39 - 0xc1e71780 (6510 kB)
[ 0.000000] .text : 0xc1000000 - 0xc1815d39 (8279 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 1c435000
[ 0.000000] IP: mod_node_state+0x22/0xaf
[ 0.000000] *pde = 00000000
[ 0.000000]
[ 0.000000] Oops: 0000 [#1] SMP
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 4.12.0-rc3-00153-gb6bc672 #1
[ 0.000000] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[ 0.000000] task: c1b34480 task.stack: c1b2e000
[ 0.000000] EIP: mod_node_state+0x22/0xaf
[ 0.000000] EFLAGS: 00210092 CPU: 0
[ 0.000000] EAX: 00000000 EBX: 00000001 ECX: 00000007 EDX: 00000006
[ 0.000000] ESI: c1f0ce20 EDI: ddc01000 EBP: c1b2fee0 ESP: c1b2febc
[ 0.000000] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[ 0.000000] CR0: 80050033 CR2: 1c435000 CR3: 01f4e000 CR4: 00000690
[ 0.000000] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
[ 0.000000] DR6: fffe0ff0 DR7: 00000400
[ 0.000000] Call Trace:
[ 0.000000] ? kmem_cache_debug+0x1e/0x25
[ 0.000000] mod_node_page_state+0xa/0xd
[ 0.000000] new_slab+0x44a/0x467
[ 0.000000] kmem_cache_open+0x1e3/0x41d
[ 0.000000] __kmem_cache_create+0xc/0x7a
[ 0.000000] create_boot_cache+0x2f/0x65
[ 0.000000] kmem_cache_init+0x37/0x105
[ 0.000000] start_kernel+0x216/0x497
[ 0.000000] i386_start_kernel+0xa8/0xac
[ 0.000000] startup_32_smp+0x16b/0x16d
[ 0.000000] Code: c1 e8 07 ff ff ff 58 c9 c3 55 89 e5 57 56 53 83 ec 18 89 45 e4 8b 80 40 0c 00 00 89 4d dc 8d 4c 10 01 89 45 ec 8b 5d dc 8b 45 ec <64> 8a 00 0f be c0 89 45 f0 64 8a 01 88 45 e3 0f be c0 01 c3 39
[ 0.000000] EIP: mod_node_state+0x22/0xaf SS:ESP: 0068:c1b2febc
[ 0.000000] CR2: 000000001c435000
[ 0.000000] ---[ end trace f68728a0d3053b52 ]---
[ 0.000000] Kernel panic - not syncing: Fatal exception
# HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start f2882f46b623423c573c4d029b016974b04da954 5ed02dbb497422bf225783f46e6eadd237d23d6b --
git bisect good 8168ff213ef9d0cc386fdca1d46e4553262b21f3 # 23:32 G 11 0 0 0 Merge remote-tracking branch 'idle/next'
git bisect good 6cef1356d3794dd87dfac808172e3c8517137df0 # 23:44 G 11 0 0 0 Merge remote-tracking branch 'iommu/next'
git bisect good 1ad18baf77ecde079ebd95223a7e7efcea3fefc5 # 23:56 G 11 0 0 0 Merge remote-tracking branch 'extcon/extcon-next'
git bisect good 06867893048b1dadef7f2d1db824e245d568a089 # 00:10 G 11 0 0 0 Merge remote-tracking branch 'pinctrl/for-next'
git bisect good f9e05a7857806e481b38b176e88f1e087aa38f3b # 00:30 G 11 0 0 0 Merge remote-tracking branch 'livepatching/for-next'
git bisect good 5f6e1344a0311cbdd6f12551d0939886a161e513 # 00:49 G 11 0 0 0 next-20170530/rtc
git bisect bad ea0e19f1f81355bede5aea2d4bc1e22afcc8d3ea # 01:09 B 0 11 25 2 Merge branch 'akpm-current/current'
git bisect good 1d4a95b197227152bf68b059923d801e6ce37ed8 # 01:32 G 11 0 0 0 mm-hugetlb-introduce-set_huge_swap_pte_at-helper-v41
git bisect bad 9d1f2181ae0d158277513d0cb13f7a8a1d58729a # 01:59 B 0 11 23 0 lib/kstrtox.c: use "unsigned int" more
git bisect bad 3cdb9deb763d75ebfc0f923d1629fa444e2ff601 # 02:25 B 0 3 19 4 mm: memcontrol: use generic mod_memcg_page_state for kmem pages
git bisect good e67718370b2f707ff1dc00d22b3527692b20e1a8 # 02:45 G 11 0 0 0 mm: kmemleak: treat vm_struct as alternative reference to vmalloc'ed objects
git bisect good 393279a903528342a09c002f860ec4ed28e07671 # 02:59 G 10 0 0 0 mm-oom_kill-count-global-and-memory-cgroup-oom-kills-fix-fix
git bisect good 84ebee41ad5abc3745f8d8f0d37d585bf469d984 # 03:35 G 11 0 0 0 mm/zswap.c: improve a size determination in zswap_frontswap_init()
git bisect bad b6bc6724488ac9a149f4ee50d9f036b0fe2420c5 # 03:55 B 0 1 16 3 mm: vmstat: move slab statistics from zone to node counters
git bisect good fa812e869a6fe7495a17150bb2639075081ef709 # 04:16 G 11 0 0 0 mm/zswap.c: delete an error message for a failed memory allocation in zswap_dstmem_prepare()
# first bad commit: [b6bc6724488ac9a149f4ee50d9f036b0fe2420c5] mm: vmstat: move slab statistics from zone to node counters
git bisect good fa812e869a6fe7495a17150bb2639075081ef709 # 04:19 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 b6bc6724488ac9a149f4ee50d9f036b0fe2420c5 # 04:38 B 0 11 24 1 mm: vmstat: move slab statistics from zone to node counters
# extra tests on HEAD of linux-next/master
git bisect bad f2882f46b623423c573c4d029b016974b04da954 # 04:38 B 0 13 28 0 Add linux-next specific files for 20170531
# extra tests on tree/branch linux-next/master
git bisect bad f2882f46b623423c573c4d029b016974b04da954 # 04:38 B 0 13 28 0 Add linux-next specific files for 20170531
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
Download attachment "dmesg-quantal-lkp-hsw01-17:20170601035523:i386-randconfig-h1-05312124:4.12.0-rc3-00153-gb6bc672:1.gz" of type "application/gzip" (4407 bytes)
View attachment "reproduce-quantal-lkp-hsw01-17:20170601035523:i386-randconfig-h1-05312124:4.12.0-rc3-00153-gb6bc672:1" of type "text/plain" (745 bytes)
View attachment "config-4.12.0-rc3-00153-gb6bc672" of type "text/plain" (114409 bytes)
Powered by blists - more mailing lists