[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <202406241651.963e3e78-oliver.sang@intel.com>
Date: Mon, 24 Jun 2024 16:49:04 +0800
From: kernel test robot <oliver.sang@...el.com>
To: Usama Arif <usamaarif642@...il.com>
CC: <oe-lkp@...ts.linux.dev>, <lkp@...el.com>, Linux Memory Management List
<linux-mm@...ck.org>, Andrew Morton <akpm@...ux-foundation.org>, "Chengming
Zhou" <chengming.zhou@...ux.dev>, Yosry Ahmed <yosryahmed@...gle.com>, "Nhat
Pham" <nphamcs@...il.com>, David Hildenbrand <david@...hat.com>, "Huang,
Ying" <ying.huang@...el.com>, Hugh Dickins <hughd@...gle.com>, Johannes
Weiner <hannes@...xchg.org>, Matthew Wilcox <willy@...radead.org>, Shakeel
Butt <shakeel.butt@...ux.dev>, Andi Kleen <ak@...ux.intel.com>,
<linux-kernel@...r.kernel.org>, <oliver.sang@...el.com>
Subject: [linux-next:master] [mm] 0fa2857d23:
WARNING:at_mm/page_alloc.c:#__alloc_pages_noprof
Hello,
kernel test robot noticed "WARNING:at_mm/page_alloc.c:#__alloc_pages_noprof" on:
commit: 0fa2857d23aa170e5e28d13c467b303b0065aad8 ("mm: store zero pages to be swapped out in a bitmap")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master
[test failed on linux-next/master f76698bd9a8ca01d3581236082d786e9a6b72bb7]
in testcase: vm-scalability
version: vm-scalability-x86_64-6f4ef16-0_20240303
with following parameters:
runtime: 300
thp_enabled: always
thp_defrag: always
nr_task: 32
nr_ssd: 1
priority: 1
test: swap-w-rand-mt
cpufreq_governor: performance
compiler: gcc-13
test machine: 128 threads 2 sockets Intel(R) Xeon(R) Platinum 8358 CPU @ 2.60GHz (Ice Lake) with 128G memory
(please refer to attached dmesg/kmsg for entire log/backtrace)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <oliver.sang@...el.com>
| Closes: https://lore.kernel.org/oe-lkp/202406241651.963e3e78-oliver.sang@intel.com
[ 34.776816][ T2413] ------------[ cut here ]------------
[ 34.782497][ T2413] WARNING: CPU: 11 PID: 2413 at mm/page_alloc.c:4685 __alloc_pages_noprof (mm/page_alloc.c:4685 (discriminator 11))
[ 34.792245][ T2413] Modules linked in: btrfs blake2b_generic xor raid6_pq libcrc32c sd_mod t10_pi intel_rapl_msr intel_rapl_common crc64_rocksoft_generic crc64_rocksoft x86_pkg_temp_thermal crc64 intel_powerclamp sg coretemp binfmt_misc kvm_intel ipmi_ssif kvm crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel sha512_ssse3 ahci ast libahci rapl drm_shmem_helper intel_cstate mei_me intel_th_gth ioatdma acpi_power_meter i2c_i801 intel_th_pci libata intel_uncore drm_kms_helper ipmi_si acpi_ipmi dax_hmem mei i2c_smbus intel_th intel_pch_thermal dca wmi ipmi_devintf ipmi_msghandler acpi_pad joydev drm fuse loop dm_mod ip_tables
[ 34.849370][ T2413] CPU: 11 PID: 2413 Comm: swapon Not tainted 6.10.0-rc4-00263-g0fa2857d23aa #1
[ 34.858458][ T2413] RIP: 0010:__alloc_pages_noprof (mm/page_alloc.c:4685 (discriminator 11))
[ 34.864602][ T2413] Code: 00 00 00 48 89 54 24 08 e9 83 fe ff ff 83 fd 0a 0f 86 f6 fd ff ff 80 3d 8a f4 d6 01 00 0f 85 7f fe ff ff c6 05 7d f4 d6 01 01 <0f> 0b e9 71 fe ff ff f7 c1 00 00 80 00 75 61 f7 c1 00 00 08 00 74
All code
========
0: 00 00 add %al,(%rax)
2: 00 48 89 add %cl,-0x77(%rax)
5: 54 push %rsp
6: 24 08 and $0x8,%al
8: e9 83 fe ff ff jmpq 0xfffffffffffffe90
d: 83 fd 0a cmp $0xa,%ebp
10: 0f 86 f6 fd ff ff jbe 0xfffffffffffffe0c
16: 80 3d 8a f4 d6 01 00 cmpb $0x0,0x1d6f48a(%rip) # 0x1d6f4a7
1d: 0f 85 7f fe ff ff jne 0xfffffffffffffea2
23: c6 05 7d f4 d6 01 01 movb $0x1,0x1d6f47d(%rip) # 0x1d6f4a7
2a:* 0f 0b ud2 <-- trapping instruction
2c: e9 71 fe ff ff jmpq 0xfffffffffffffea2
31: f7 c1 00 00 80 00 test $0x800000,%ecx
37: 75 61 jne 0x9a
39: f7 c1 00 00 08 00 test $0x80000,%ecx
3f: 74 .byte 0x74
Code starting with the faulting instruction
===========================================
0: 0f 0b ud2
2: e9 71 fe ff ff jmpq 0xfffffffffffffe78
7: f7 c1 00 00 80 00 test $0x800000,%ecx
d: 75 61 jne 0x70
f: f7 c1 00 00 08 00 test $0x80000,%ecx
15: 74 .byte 0x74
[ 34.884371][ T2413] RSP: 0018:ffa000000ce8fda8 EFLAGS: 00010246
[ 34.890619][ T2413] RAX: 0000000000000000 RBX: 0000000000040dc0 RCX: 0000000000000000
[ 34.898766][ T2413] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000040dc0
[ 34.906910][ T2413] RBP: 000000000000000b R08: ffa000000ce8fd44 R09: ff11000104e13bc0
[ 34.915074][ T2413] R10: ffa000000ce8feb0 R11: ffa0000023201000 R12: 0000000000000000
[ 34.923264][ T2413] R13: 0000000000000001 R14: 0000000000000dc0 R15: 0000000003200000
[ 34.931414][ T2413] FS: 00007f8ac1a03840(0000) GS:ff1100103e780000(0000) knlGS:0000000000000000
[ 34.940527][ T2413] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 34.947348][ T2413] CR2: 000056306078b000 CR3: 00000001307f4001 CR4: 0000000000771ef0
[ 34.955505][ T2413] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 34.963661][ T2413] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 34.971815][ T2413] PKRU: 55555554
[ 34.975551][ T2413] Call Trace:
[ 34.979030][ T2413] <TASK>
[ 34.982179][ T2413] ? __warn (kernel/panic.c:693)
[ 34.986427][ T2413] ? __alloc_pages_noprof (mm/page_alloc.c:4685 (discriminator 11))
[ 34.991965][ T2413] ? report_bug (lib/bug.c:180 lib/bug.c:219)
[ 34.996643][ T2413] ? handle_bug (arch/x86/kernel/traps.c:239)
[ 35.001163][ T2413] ? exc_invalid_op (arch/x86/kernel/traps.c:260 (discriminator 1))
[ 35.006011][ T2413] ? asm_exc_invalid_op (arch/x86/include/asm/idtentry.h:621)
[ 35.011233][ T2413] ? __alloc_pages_noprof (mm/page_alloc.c:4685 (discriminator 11))
[ 35.016765][ T2413] __kmalloc_large_node (mm/slub.c:4069)
[ 35.022043][ T2413] __kmalloc_noprof (arch/x86/include/asm/bitops.h:417 include/asm-generic/getorder.h:46 mm/slub.c:4113 mm/slub.c:4136)
[ 35.027066][ T2413] ? __do_sys_swapon (mm/swapfile.c:3173)
[ 35.032196][ T2413] ? __do_sys_swapon (mm/swapfile.c:3173)
[ 35.037290][ T2413] ? __do_sys_swapon (mm/swapfile.c:3167)
[ 35.042379][ T2413] __do_sys_swapon (mm/swapfile.c:3173)
[ 35.047300][ T2413] do_syscall_64 (arch/x86/entry/common.c:52 (discriminator 1) arch/x86/entry/common.c:83 (discriminator 1))
[ 35.051955][ T2413] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130)
[ 35.058002][ T2413] RIP: 0033:0x7f8ac1bcef97
[ 35.062571][ T2413] Code: 73 01 c3 48 8b 0d 69 2e 0d 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 a7 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 39 2e 0d 00 f7 d8 64 89 01 48
All code
========
0: 73 01 jae 0x3
2: c3 retq
3: 48 8b 0d 69 2e 0d 00 mov 0xd2e69(%rip),%rcx # 0xd2e73
a: f7 d8 neg %eax
c: 64 89 01 mov %eax,%fs:(%rcx)
f: 48 83 c8 ff or $0xffffffffffffffff,%rax
13: c3 retq
14: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1)
1b: 00 00 00
1e: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1)
23: b8 a7 00 00 00 mov $0xa7,%eax
28: 0f 05 syscall
2a:* 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax <-- trapping instruction
30: 73 01 jae 0x33
32: c3 retq
33: 48 8b 0d 39 2e 0d 00 mov 0xd2e39(%rip),%rcx # 0xd2e73
3a: f7 d8 neg %eax
3c: 64 89 01 mov %eax,%fs:(%rcx)
3f: 48 rex.W
Code starting with the faulting instruction
===========================================
0: 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax
6: 73 01 jae 0x9
8: c3 retq
9: 48 8b 0d 39 2e 0d 00 mov 0xd2e39(%rip),%rcx # 0xd2e49
10: f7 d8 neg %eax
12: 64 89 01 mov %eax,%fs:(%rcx)
15: 48 rex.W
[ 35.063745][ T1492] is_virt=false
[ 35.082007][ T2413] RSP: 002b:00007fffa761ac08 EFLAGS: 00000246 ORIG_RAX: 00000000000000a7
[ 35.082010][ T2413] RAX: ffffffffffffffda RBX: 000056306077c190 RCX: 00007f8ac1bcef97
[ 35.082010][ T2413] RDX: 0000000000008001 RSI: 0000000000008001 RDI: 000056306077c190
[ 35.082011][ T2413] RBP: 0000000000008001 R08: 0000000000000ff6 R09: 0000000000001000
[ 35.082012][ T2413] R10: 4e45505355533253 R11: 0000000000000246 R12: 00007fffa761ae3c
[ 35.082012][ T2413] R13: 0000000000000001 R14: 0000003200000000 R15: 000056306077cfe0
[ 35.082014][ T2413] </TASK>
[ 35.082015][ T2413] ---[ end trace 0000000000000000 ]---
The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20240624/202406241651.963e3e78-oliver.sang@intel.com
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists