Re: [PATCH v6 2/3] sched: Move task_mm_cid_work to mm delayed work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hello,

kernel test robot noticed "WARNING:at_kernel/workqueue.c:#__queue_delayed_work" on:

commit: 287adf9e9c1fa8a0e2b50ab1a1de3e4572a8ccd2 ("[PATCH v6 2/3] sched: Move task_mm_cid_work to mm delayed work")
url: https://github.com/intel-lab-lkp/linux/commits/Gabriele-Monaco/sched-Compact-RSEQ-concurrency-IDs-with-reduced-threads-and-affinity/20250210-233547
patch link: https://lore.kernel.org/all/20250210153253.460471-3-gmonaco@xxxxxxxxxx/
patch subject: [PATCH v6 2/3] sched: Move task_mm_cid_work to mm delayed work

in testcase: boot

config: x86_64-randconfig-004-20250211
compiler: clang-19
test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 16G

(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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-lkp/202502131405.1ba0803f-lkp@xxxxxxxxx


[    2.640924][    T0] ------------[ cut here ]------------
[ 2.641646][ T0] WARNING: CPU: 0 PID: 0 at kernel/workqueue.c:2495 __queue_delayed_work (kernel/workqueue.c:2495 (discriminator 9)) 
[    2.642874][    T0] Modules linked in:
[    2.643381][    T0] CPU: 0 UID: 0 PID: 0 Comm: swapper Not tainted 6.14.0-rc2-00002-g287adf9e9c1f #1
[    2.644582][    T0] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
[ 2.645943][ T0] RIP: 0010:__queue_delayed_work (kernel/workqueue.c:2495 (discriminator 9)) 
[ 2.646755][ T0] Code: 44 89 fe 4c 89 33 e8 6d 24 19 00 48 83 c4 08 5b 41 5c 41 5d 41 5e 41 5f 5d 31 c0 31 c9 31 ff 31 d2 31 f6 c3 e8 7f 87 25 00 90 <0f> 0b 90 e9 58 fd ff ff e8 71 87 25 00 90 0f 0b 90 e9 80 fd ff ff
All code
========
   0:	44 89 fe             	mov    %r15d,%esi
   3:	4c 89 33             	mov    %r14,(%rbx)
   6:	e8 6d 24 19 00       	call   0x192478
   b:	48 83 c4 08          	add    $0x8,%rsp
   f:	5b                   	pop    %rbx
  10:	41 5c                	pop    %r12
  12:	41 5d                	pop    %r13
  14:	41 5e                	pop    %r14
  16:	41 5f                	pop    %r15
  18:	5d                   	pop    %rbp
  19:	31 c0                	xor    %eax,%eax
  1b:	31 c9                	xor    %ecx,%ecx
  1d:	31 ff                	xor    %edi,%edi
  1f:	31 d2                	xor    %edx,%edx
  21:	31 f6                	xor    %esi,%esi
  23:	c3                   	ret
  24:	e8 7f 87 25 00       	call   0x2587a8
  29:	90                   	nop
  2a:*	0f 0b                	ud2		<-- trapping instruction
  2c:	90                   	nop
  2d:	e9 58 fd ff ff       	jmp    0xfffffffffffffd8a
  32:	e8 71 87 25 00       	call   0x2587a8
  37:	90                   	nop
  38:	0f 0b                	ud2
  3a:	90                   	nop
  3b:	e9 80 fd ff ff       	jmp    0xfffffffffffffdc0

Code starting with the faulting instruction
===========================================
   0:	0f 0b                	ud2
   2:	90                   	nop
   3:	e9 58 fd ff ff       	jmp    0xfffffffffffffd60
   8:	e8 71 87 25 00       	call   0x25877e
   d:	90                   	nop
   e:	0f 0b                	ud2
  10:	90                   	nop
  11:	e9 80 fd ff ff       	jmp    0xfffffffffffffd96
[    2.649301][    T0] RSP: 0000:ffffffffab007d80 EFLAGS: 00010046
[    2.650081][    T0] RAX: 0000000000000000 RBX: ffff888100090b98 RCX: 0000000000000000
[    2.651084][    T0] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[    2.652078][    T0] RBP: ffffffffab007db0 R08: 0000000000000000 R09: 0000000000000000
[    2.653077][    T0] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
[    2.654101][    T0] R13: 0000000000000040 R14: 0000000000000019 R15: 0000000000000040
[    2.655112][    T0] FS:  0000000000000000(0000) GS:ffff8883af200000(0000) knlGS:0000000000000000
[    2.656263][    T0] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    2.657103][    T0] CR2: ffff88843ffff000 CR3: 00000001d3617000 CR4: 00000000000000b0
[    2.658128][    T0] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[    2.659147][    T0] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[    2.660143][    T0] Call Trace:
[    2.660553][    T0]  <TASK>
[ 2.660934][ T0] ? show_regs (arch/x86/kernel/dumpstack.c:479) 
[ 2.661524][ T0] ? __warn (kernel/panic.c:748) 
[ 2.662065][ T0] ? __queue_delayed_work (kernel/workqueue.c:2495 (discriminator 9)) 
[ 2.662796][ T0] ? __queue_delayed_work (kernel/workqueue.c:2495 (discriminator 9)) 
[ 2.663535][ T0] ? report_bug (lib/bug.c:?) 
[ 2.664119][ T0] ? __queue_delayed_work (kernel/workqueue.c:2495 (discriminator 9)) 
[ 2.664836][ T0] ? handle_bug (arch/x86/kernel/traps.c:285) 
[ 2.665404][ T0] ? exc_invalid_op (arch/x86/kernel/traps.c:309 (discriminator 1)) 
[ 2.665848][ T0] ? asm_exc_invalid_op (arch/x86/include/asm/idtentry.h:621) 
[ 2.666292][ T0] ? __queue_delayed_work (kernel/workqueue.c:2495 (discriminator 9)) 
[ 2.666762][ T0] queue_delayed_work_on (kernel/workqueue.c:?) 
[ 2.667215][ T0] mm_init (include/linux/workqueue.h:? include/linux/workqueue.h:817 include/linux/mm_types.h:1261 kernel/fork.c:1310) 
[ 2.667575][ T0] mm_alloc (kernel/fork.c:?) 
[ 2.667916][ T0] ? x86_64_start_reservations (usercopy_64.c:?) 
[ 2.668400][ T0] poking_init (arch/x86/mm/init.c:822) 
[ 2.668777][ T0] ? x86_64_start_reservations (usercopy_64.c:?) 
[ 2.669266][ T0] start_kernel (init/main.c:959) 
[ 2.669671][ T0] x86_64_start_reservations (usercopy_64.c:?) 
[ 2.670140][ T0] x86_64_start_kernel (arch/x86/kernel/head64.c:445 (discriminator 2)) 
[ 2.670574][ T0] common_startup_64 (arch/x86/kernel/head_64.S:421) 
[    2.671018][    T0]  </TASK>
[    2.671271][    T0] irq event stamp: 0
[ 2.671595][ T0] hardirqs last enabled at (0): 0x0 
[ 2.672192][ T0] hardirqs last disabled at (0): 0x0 
[ 2.672789][ T0] softirqs last enabled at (0): 0x0 
[ 2.673386][ T0] softirqs last disabled at (0): 0x0 
[    2.674005][    T0] ---[ end trace 0000000000000000 ]---


The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20250213/202502131405.1ba0803f-lkp@xxxxxxxxx



-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux