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]
Date:	Fri, 15 Jul 2016 09:49:18 +0800
From:	kernel test robot <xiaolong.ye@...el.com>
To:	Mel Gorman <mgorman@...hsingularity.net>
Cc:	Stephen Rothwell <sfr@...b.auug.org.au>,
	Michal Hocko <mhocko@...e.com>,
	Hillf Danton <hillf.zj@...baba-inc.com>,
	Johannes Weiner <hannes@...xchg.org>,
	Joonsoo Kim <iamjoonsoo.kim@....com>,
	Minchan Kim <minchan@...nel.org>,
	Rik van Riel <riel@...riel.com>,
	Vlastimil Babka <vbabka@...e.cz>,
	Andrew Morton <akpm@...ux-foundation.org>,
	LKML <linux-kernel@...r.kernel.org>, lkp@...org
Subject: [lkp] [mm, memcg]  849400b8b0: WARNING: CPU: 0 PID: 1 at
 mm/memcontrol.c:998 mem_cgroup_update_lru_size+0x220/0x297


FYI, we noticed the following commit:

https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
commit 849400b8b0dfec6b7a681d62f45ade0a85858e46 ("mm, memcg: move memcg limit enforcement from zones to nodes")

in testcase: boot

on test machine: 2 threads qemu-system-x86_64 -enable-kvm with 360M memory

caused below changes:


+------------------------------------------------------------------+------------+------------+
|                                                                  | b75e3f6496 | 849400b8b0 |
+------------------------------------------------------------------+------------+------------+
| boot_successes                                                   | 0          | 0          |
| boot_failures                                                    | 10         | 10         |
| genirq:Flags_mismatch_irq##(serial)vs.#(goldfish_pdev_bus)       | 2          | 4          |
| backtrace:__ubsan_handle_type_mismatch                           | 10         | 10         |
| backtrace:early_init_intel                                       | 10         | 10         |
| backtrace:early_cpu_init                                         | 10         | 10         |
| backtrace:check_mpx_erratum                                      | 10         | 10         |
| backtrace:fpu__init_cpu_xstate                                   | 10         | 10         |
| backtrace:fpu__init_cpu                                          | 10         | 10         |
| backtrace:fpu__init_system                                       | 10         | 10         |
| backtrace:fpu__init_system_xstate                                | 10         | 10         |
| backtrace:setup_xstate_comp                                      | 2          | 4          |
| backtrace:vmware_platform                                        | 10         | 10         |
| backtrace:init_hypervisor_platform                               | 10         | 10         |
| backtrace:ms_hyperv_platform                                     | 10         | 10         |
| backtrace:kvm_detect                                             | 10         | 10         |
| backtrace:mtrr_bp_init                                           | 10         | 10         |
| backtrace:prepare_set                                            | 10         | 10         |
| backtrace:mtrr_bp_pat_init                                       | 10         | 10         |
| backtrace:pat_init                                               | 10         | 10         |
| backtrace:post_set                                               | 10         | 10         |
| backtrace:init_mem_mapping                                       | 10         | 10         |
| backtrace:acpi_initialize_tables                                 | 10         | 10         |
| backtrace:acpi_table_init                                        | 10         | 10         |
| backtrace:acpi_boot_table_init                                   | 10         | 10         |
| backtrace:acpi_tb_init_table_descriptor                          | 10         | 10         |
| backtrace:acpi_get_table_with_size                               | 10         | 10         |
| backtrace:acpi_blacklisted                                       | 10         | 10         |
| backtrace:acpi_table_parse                                       | 10         | 10         |
| backtrace:early_acpi_boot_init                                   | 10         | 10         |
| backtrace:acpi_boot_init                                         | 10         | 10         |
| backtrace:x2apic_setup                                           | 10         | 10         |
| backtrace:cpu_init                                               | 10         | 10         |
| backtrace:trap_init                                              | 10         | 10         |
| backtrace:arch_ioremap_pud_supported                             | 10         | 10         |
| backtrace:ioremap_huge_init                                      | 10         | 10         |
| backtrace:arch_ioremap_pmd_supported                             | 10         | 10         |
| backtrace:tsc_init                                               | 10         | 10         |
| backtrace:x86_late_time_init                                     | 10         | 10         |
| backtrace:unsynchronized_tsc                                     | 10         | 10         |
| backtrace:acpi_initialize_subsystem                              | 10         | 10         |
| backtrace:acpi_early_init                                        | 10         | 10         |
| backtrace:acpi_load_tables                                       | 10         | 10         |
| backtrace:acpi_ds_method_data_init                               | 10         | 10         |
| backtrace:init_intel                                             | 10         | 10         |
| backtrace:x86_init_rdrand                                        | 10         | 10         |
| backtrace:intel_pmu_init                                         | 10         | 10         |
| backtrace:init_hw_perf_events                                    | 10         | 10         |
| backtrace:kernel_init_freeable                                   | 10         | 10         |
| backtrace:set_real_mode_permissions                              | 10         | 10         |
| backtrace:APIC_init_uniprocessor                                 | 10         | 10         |
| backtrace:up_late_init                                           | 10         | 10         |
| backtrace:default_setup_apic_routing                             | 10         | 10         |
| backtrace:apic_bsp_setup                                         | 10         | 10         |
| backtrace:do_mount                                               | 10         | 10         |
| backtrace:SyS_mount                                              | 10         | 10         |
| backtrace:devtmpfsd                                              | 10         | 10         |
| backtrace:cpufreq_register_tsc_scaling                           | 10         | 10         |
| backtrace:init_lapic_sysfs                                       | 10         | 10         |
| backtrace:calibrate_xor_blocks                                   | 10         | 10         |
| backtrace:bts_init                                               | 10         | 10         |
| backtrace:pt_init                                                | 10         | 10         |
| backtrace:mtrr_if_init                                           | 10         | 10         |
| backtrace:raid#_select_algo                                      | 10         | 10         |
| backtrace:acpi_enable_subsystem                                  | 10         | 10         |
| backtrace:acpi_init                                              | 10         | 10         |
| backtrace:acpi_initialize_objects                                | 10         | 10         |
| backtrace:acpi_early_processor_osc                               | 10         | 10         |
| backtrace:acpi_get_cpuid                                         | 10         | 10         |
| backtrace:early_init_pdc                                         | 10         | 10         |
| backtrace:acpi_early_processor_set_pdc                           | 10         | 10         |
| backtrace:acpi_processor_set_pdc                                 | 10         | 10         |
| backtrace:acpi_bus_scan                                          | 10         | 10         |
| backtrace:acpi_scan_init                                         | 10         | 10         |
| backtrace:register_netdev                                        | 10         | 10         |
| backtrace:loopback_net_init                                      | 10         | 10         |
| backtrace:ops_init                                               | 10         | 10         |
| backtrace:register_pernet_device                                 | 10         | 10         |
| backtrace:net_dev_init                                           | 10         | 10         |
| backtrace:hpet_late_init                                         | 10         | 10         |
| backtrace:acpi_get_devices                                       | 10         | 10         |
| backtrace:pnpacpi_init                                           | 10         | 10         |
| backtrace:populate_rootfs                                        | 10         | 10         |
| backtrace:amd_ibs_init                                           | 2          | 4          |
| backtrace:msr_init                                               | 2          | 4          |
| backtrace:test_aperfmperf                                        | 2          | 4          |
| backtrace:test_ptsc                                              | 2          | 4          |
| backtrace:test_irperf                                            | 2          | 4          |
| backtrace:intel_uncore_init                                      | 2          | 4          |
| backtrace:cstate_pmu_init                                        | 2          | 4          |
| backtrace:init_tsc_clocksource                                   | 2          | 4          |
| backtrace:cryptomgr_test                                         | 2          | 4          |
| backtrace:chacha20_simd_mod_init                                 | 2          | 4          |
| backtrace:crc32c_intel_mod_init                                  | 2          | 4          |
| backtrace:sha1_ssse3_mod_init                                    | 2          | 4          |
| backtrace:avx2_usable                                            | 2          | 4          |
| backtrace:sha256_ssse3_mod_init                                  | 2          | 4          |
| backtrace:camellia_aesni_init                                    | 2          | 4          |
| backtrace:init                                                   | 2          | 4          |
| backtrace:sha1_mb_mod_init                                       | 2          | 4          |
| backtrace:ring_buffer_producer_thread                            | 2          | 4          |
| backtrace:tsc_refine_calibration_work                            | 2          | 4          |
| backtrace:platform_device_add                                    | 2          | 4          |
| backtrace:test_init                                              | 2          | 4          |
| backtrace:op_nmi_init                                            | 2          | 1          |
| backtrace:oprofile_arch_init                                     | 1          | 2          |
| backtrace:oprofile_init                                          | 1          | 1          |
| backtrace:aesni_init                                             | 1          |            |
| backtrace:do_execve                                              | 2          | 4          |
| backtrace:run_init_process                                       | 2          | 4          |
| backtrace:SyS_mprotect                                           | 2          | 4          |
| backtrace:do_group_exit                                          | 2          | 4          |
| backtrace:SyS_exit_group                                         | 2          | 4          |
| backtrace:do_sys_open                                            | 7          | 6          |
| backtrace:SyS_open                                               | 7          | 6          |
| backtrace:__mm_populate                                          | 2          | 2          |
| backtrace:SyS_mlockall                                           | 2          | 2          |
| backtrace:kernel_restart                                         | 2          | 4          |
| backtrace:SyS_reboot                                             | 2          | 4          |
| invoked_oom-killer:gfp_mask=0x                                   | 8          | 6          |
| Mem-Info                                                         | 8          | 6          |
| Kernel_panic-not_syncing:Out_of_memory_and_no_killable_processes | 8          | 6          |
| backtrace:vfs_lstat                                              | 1          |            |
| backtrace:SyS_newlstat                                           | 1          |            |
| backtrace:init_cache_modes                                       | 6          | 6          |
| backtrace:pat_disable                                            | 6          | 6          |
| backtrace:vfs_write                                              | 2          | 6          |
| backtrace:SyS_write                                              | 2          | 6          |
| backtrace:vfs_read                                               | 0          | 2          |
| backtrace:SyS_read                                               | 0          | 2          |
| WARNING:at_mm/memcontrol.c:#mem_cgroup_update_lru_size           | 0          | 7          |
| backtrace:filename_create                                        | 0          | 1          |
| backtrace:SyS_symlinkat                                          | 0          | 1          |
| backtrace:SyS_symlink                                            | 0          | 1          |
| backtrace:vfs_symlink                                            | 0          | 1          |
+------------------------------------------------------------------+------------+------------+


[    7.613641] ------------[ cut here ]------------
[    7.615697] WARNING: CPU: 0 PID: 1 at mm/memcontrol.c:998 mem_cgroup_update_lru_size+0x220/0x297
[    7.617853] mem_cgroup_update_lru_size(ffff880014b98e00, 2, -2): lru_size 26 but empty
[    7.619629] CPU: 0 PID: 1 Comm: swapper Not tainted 4.7.0-rc7-00232-g849400b #1
[    7.621351] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[    7.623234]  0000000000000000 ffff880014ba7360 ffffffff81835553 ffff880014ba73a0
[    7.625226]  ffffffff810e4291 000003e600000009 ffff880014b98e20 fffffffffffffffe
[    7.627211]  ffff880014b98e00 ffff880014b98e90 00000000fffffffe ffff880014ba7408
[    7.629198] Call Trace:
[    7.629943]  [<ffffffff81835553>] dump_stack+0x19/0x1b
[    7.631005]  [<ffffffff810e4291>] __warn+0x114/0x12f
[    7.632052]  [<ffffffff810e42f7>] warn_slowpath_fmt+0x4b/0x53
[    7.633198]  [<ffffffff8114a7ab>] ? __lock_acquire+0xb69/0xeec
[    7.634421]  [<ffffffff812de730>] mem_cgroup_update_lru_size+0x220/0x297
[    7.635664]  [<ffffffff8127098d>] isolate_lru_pages+0x4b2/0x533
[    7.636851]  [<ffffffff8127309e>] shrink_inactive_list+0x318/0x75e
[    7.638040]  [<ffffffff8127406c>] shrink_node_memcg+0x6ed/0xc69
[    7.639214]  [<ffffffff812dae00>] ? mem_cgroup_iter+0x4bc/0x774
[    7.640366]  [<ffffffff81274766>] shrink_node+0x17e/0x47f
[    7.641538]  [<ffffffff81273984>] ? shrink_node_memcg+0x5/0xc69
[    7.642683]  [<ffffffff81274766>] ? shrink_node+0x17e/0x47f
[    7.643843]  [<ffffffff81274e78>] do_try_to_free_pages+0x411/0x6dc
[    7.644988]  [<ffffffff812752a1>] try_to_free_pages+0x15e/0x2bc
[    7.646112]  [<ffffffff81259190>] __alloc_pages_nodemask+0x805/0x13bd
[    7.647357]  [<ffffffff81247b45>] pagecache_get_page+0x27a/0x370
[    7.648488]  [<ffffffff8124b83a>] grab_cache_page_write_begin+0x5a/0x77
[    7.649683]  [<ffffffff8133fb53>] simple_write_begin+0x31/0x30c
[    7.650801]  [<ffffffff8118e6a5>] ? current_kernel_time64+0x67/0xf0
[    7.651958]  [<ffffffff8124ba1a>] generic_perform_write+0x1c3/0x2d8
[    7.653120]  [<ffffffff8124be29>] __generic_file_write_iter+0x2fa/0x3a0
[    7.654328]  [<ffffffff8124c2f0>] generic_file_write_iter+0x421/0x536
[    7.655549]  [<ffffffff812f49cb>] __vfs_write+0x380/0x3e3
[    7.656695]  [<ffffffff812f4d89>] vfs_write+0x192/0x2ea
[    7.657764]  [<ffffffff812f4ffa>] SyS_write+0x61/0xb8
[    7.658843]  [<ffffffff84d425de>] xwrite+0x37/0x91
[    7.659863]  [<ffffffff84d4266a>] do_copy+0x32/0x124
[    7.660903]  [<ffffffff84d42427>] write_buffer+0x6e/0x83
[    7.661983]  [<ffffffff84d4281c>] flush_buffer+0x2f/0xa3
[    7.663070]  [<ffffffff84d42244>] ? md_run_setup+0x94/0x94
[    7.664186]  [<ffffffff84d887f1>] __gunzip+0x4c3/0x5fd
[    7.665246]  [<ffffffff84d88324>] ? decompress_method+0xdc/0xdc
[    7.666395]  [<ffffffff84d427ed>] ? free_initrd+0x91/0x91
[    7.667520]  [<ffffffff84d8893c>] gunzip+0x11/0x13
[    7.668539]  [<ffffffff84d42244>] ? md_run_setup+0x94/0x94
[    7.669644]  [<ffffffff84d42e28>] unpack_to_rootfs+0x1fa/0x35f
[    7.670794]  [<ffffffff84d42244>] ? md_run_setup+0x94/0x94
[    7.671902]  [<ffffffff84d43490>] ? maybe_link+0x2c1/0x2c1
[    7.673080]  [<ffffffff84d434ec>] populate_rootfs+0x5c/0xfc
[    7.674197]  [<ffffffff84d43490>] ? maybe_link+0x2c1/0x2c1
[    7.675372]  [<ffffffff84d3f8fb>] do_one_initcall+0xdc/0x16f
[    7.676510]  [<ffffffff84d3fc03>] kernel_init_freeable+0x275/0x307
[    7.677695]  [<ffffffff82624df5>] kernel_init+0xf/0x108
[    7.678771]  [<ffffffff8263ab4f>] ret_from_fork+0x1f/0x40
[    7.679867]  [<ffffffff82624de6>] ? rest_init+0xbd/0xbd


FYI, raw QEMU command line is:

	qemu-system-x86_64 -enable-kvm -kernel /pkg/linux/x86_64-randconfig-s4-07141901/gcc-6/849400b8b0dfec6b7a681d62f45ade0a85858e46/vmlinuz-4.7.0-rc7-00232-g849400b -append 'root=/dev/ram0 user=lkp job=/lkp/scheduled/vm-vp-quantal-x86_64-49/bisect_boot-1-quantal-core-x86_64.cgz-x86_64-randconfig-s4-07141901-849400b8b0dfec6b7a681d62f45ade0a85858e46-20160715-2314-1069qcn-0.yaml ARCH=x86_64 kconfig=x86_64-randconfig-s4-07141901 branch=linux-next/master commit=849400b8b0dfec6b7a681d62f45ade0a85858e46 BOOT_IMAGE=/pkg/linux/x86_64-randconfig-s4-07141901/gcc-6/849400b8b0dfec6b7a681d62f45ade0a85858e46/vmlinuz-4.7.0-rc7-00232-g849400b max_uptime=600 RESULT_ROOT=/result/boot/1/vm-vp-quantal-x86_64/quantal-core-x86_64.cgz/x86_64-randconfig-s4-07141901/gcc-6/849400b8b0dfec6b7a681d62f45ade0a85858e46/0 LKP_SERVER=inn earlyprintk=ttyS0,115200 systemd.log_level=err debug apic=debug sysrq_always_enabled rcupdate.rcu_cpu_stall_timeout=100 panic=-1 softlockup_panic=1 nmi_watchdog=panic oops=panic load_ramdisk=2 prompt_ramdisk=0 console=ttyS0,115200 console=tty0 vga=normal rw ip=::::vm-vp-quantal-x86_64-49::dhcp drbd.minor_count=8'  -initrd /fs/sdf1/initrd-vm-vp-quantal-x86_64-49 -m 360 -smp 2 -device e1000,netdev=net0 -netdev user,id=net0 -boot order=nc -no-reboot -watchdog i6300esb -rtc base=localtime -pidfile /dev/shm/kboot/pid-vm-vp-quantal-x86_64-49 -serial file:/dev/shm/kboot/serial-vm-vp-quantal-x86_64-49 -daemonize -display none -monitor null 





Thanks,
Xiaolong

View attachment "config-4.7.0-rc7-00232-g849400b" of type "text/plain" (95480 bytes)

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ