lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170316023849.GE4477@yexl-desktop>
Date:   Thu, 16 Mar 2017 10:38:49 +0800
From:   kernel test robot <xiaolong.ye@...el.com>
To:     Michal Hocko <mhocko@...e.com>
Cc:     Stephen Rothwell <sfr@...b.auug.org.au>,
        Tetsuo Handa <penguin-kernel@...ove.SAKURA.ne.jp>,
        Vlastimil Babka <vbabka@...e.cz>, Mel Gorman <mgorman@...e.de>,
        Andrew Morton <akpm@...ux-foundation.org>,
        LKML <linux-kernel@...r.kernel.org>, lkp@...org
Subject: [lkp-robot] [mm]  bae58218d8:
 WARNING:at_mm/page_alloc.c:#drain_all_pages


FYI, we noticed the following commit:

commit: bae58218d80c6beffd5c96c0fcae372a0e63ca32 ("mm: move pcp and lru-pcp draining into single wq")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master

in testcase: iozone
with following parameters:

	disk: 2HDD
	fs: ext4
	iosched: cfq



on test machine: qemu-system-x86_64 -enable-kvm -cpu Nehalem -smp 2 -m 1G

caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):


+------------------------------------------------------------------+------------+------------+
|                                                                  | b3b0f2dd98 | bae58218d8 |
+------------------------------------------------------------------+------------+------------+
| boot_successes                                                   | 4          | 4          |
| boot_failures                                                    | 12         | 12         |
| invoked_oom-killer:gfp_mask=0x                                   | 12         | 12         |
| Mem-Info                                                         | 12         | 12         |
| Kernel_panic-not_syncing:Out_of_memory_and_no_killable_processes | 12         | 12         |
| WARNING:at_mm/page_alloc.c:#drain_all_pages                      | 0          | 10         |
+------------------------------------------------------------------+------------+------------+



[    6.860158] WARNING: CPU: 1 PID: 1 at mm/page_alloc.c:2371 drain_all_pages+0x41/0x1f2
[    6.863192] Modules linked in:
[    6.864468] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.11.0-rc1-00188-gbae5821 #1
[    6.867107] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[    6.870163] Call Trace:
[    6.871298]  dump_stack+0x86/0xc0
[    6.872573]  __warn+0xc2/0xdd
[    6.873790]  warn_slowpath_null+0x1d/0x1f
[    6.875186]  drain_all_pages+0x41/0x1f2
[    6.876547]  __alloc_pages_nodemask+0x72e/0xec2
[    6.878032]  ? radix_tree_node_alloc+0x44/0xab
[    6.879684]  alloc_page_interleave+0x37/0x7a
[    6.881120]  alloc_pages_current+0x93/0xf4
[    6.882517]  __page_cache_alloc+0xa9/0xb5
[    6.883916]  pagecache_get_page+0x19c/0x25b
[    6.885331]  grab_cache_page_write_begin+0x20/0x37
[    6.886852]  simple_write_begin+0x29/0x110
[    6.888258]  generic_perform_write+0xd3/0x193
[    6.889709]  __generic_file_write_iter+0x156/0x199
[    6.891231]  ? __might_sleep+0x77/0x7e
[    6.892588]  generic_file_write_iter+0x112/0x15b
[    6.894093]  __vfs_write+0xda/0x103
[    6.895395]  vfs_write+0x100/0x1a9
[    6.896698]  ? md_run_setup+0x94/0x94
[    6.898035]  SyS_write+0x4e/0x88
[    6.899286]  xwrite+0x29/0x5c
[    6.900506]  do_copy+0x9a/0xdb
[    6.901743]  write_buffer+0x23/0x34
[    6.903047]  flush_buffer+0x34/0x8c
[    6.904338]  __gunzip+0x26d/0x30d
[    6.905607]  ? bunzip2+0x3ca/0x3ca
[    6.906899]  ? write_buffer+0x34/0x34
[    6.908225]  ? __gunzip+0x30d/0x30d
[    6.909521]  gunzip+0x11/0x13
[    6.910744]  ? md_run_setup+0x94/0x94
[    6.912086]  unpack_to_rootfs+0x16b/0x289
[    6.913468]  ? md_run_setup+0x94/0x94
[    6.914804]  ? maybe_link+0x10d/0x10d
[    6.916241]  ? set_debug_rodata+0x12/0x12
[    6.917629]  populate_rootfs+0x5c/0x108
[    6.919002]  ? maybe_link+0x10d/0x10d
[    6.920426]  do_one_initcall+0x90/0x146
[    6.921796]  ? set_debug_rodata+0x12/0x12
[    6.923190]  kernel_init_freeable+0x1a2/0x22a
[    6.924631]  ? rest_init+0x87/0x87
[    6.925922]  kernel_init+0xe/0xf5
[    6.927192]  ret_from_fork+0x31/0x40
[    6.928546] ---[ end trace a030152ccac050ac ]---


To reproduce:

        git clone https://github.com/01org/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.11.0-rc1-00188-gbae5821" of type "text/plain" (104656 bytes)

View attachment "job-script" of type "text/plain" (6390 bytes)

Download attachment "dmesg.xz" of type "application/octet-stream" (9756 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ