[LTP] [peterz-queue:sched/scx] [sched/rt] 2d46cf7c51: WARNING:at_kernel/sched/deadline.c:#task_contending

kernel test robot [email protected]
Thu Aug 1 10:52:00 CEST 2024



Hello,

kernel test robot noticed "WARNING:at_kernel/sched/deadline.c:#task_contending" on:

commit: 2d46cf7c51bdf9bdda81c6e876abf36a6492f37d ("sched/rt: Remove default bandwidth control")
https://git.kernel.org/cgit/linux/kernel/git/peterz/queue.git sched/scx

in testcase: ltp
version: ltp-x86_64-14c1f76-1_20240727
with following parameters:

	test: sched/cfs_bandwidth01



compiler: gcc-13
test machine: 8 threads 1 sockets Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz (Ivy Bridge) with 16G 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 <[email protected]>
| Closes: https://lore.kernel.org/oe-lkp/[email protected]


The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20240801/[email protected]


kern  :warn  : [  186.240751] ------------[ cut here ]------------
kern  :warn  : [  186.241064] dl_rq->running_bw > dl_rq->this_bw
kern  :warn  : [  186.241083] WARNING: CPU: 2 PID: 3614 at kernel/sched/deadline.c:253 task_contending+0x533/0x6b0
kern  :warn  : [  186.241705] Modules linked in: netconsole btrfs blake2b_generic xor zstd_compress raid6_pq libcrc32c intel_rapl_msr intel_rapl_common x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel sd_mod sg ipmi_devintf ipmi_msghandler i915 kvm crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel sha512_ssse3 drm_buddy rapl intel_gtt intel_cstate ahci mxm_wmi drm_display_helper libahci firewire_ohci ttm firewire_core intel_uncore i2c_i801 libata i2c_smbus crc_itu_t lpc_ich drm_kms_helper video wmi binfmt_misc fuse loop drm dm_mod ip_tables
kern  :warn  : [  186.243203] CPU: 2 UID: 0 PID: 3614 Comm: cfs_bandwidth01 Not tainted 6.10.0-12040-g2d46cf7c51bd #1
kern  :warn  : [  186.243566] Hardware name:  /DZ77BH-55K, BIOS BHZ7710H.86A.0097.2012.1228.1346 12/28/2012
kern  :warn  : [  186.243898] RIP: 0010:task_contending+0x533/0x6b0
kern  :warn  : [  186.244170] Code: e8 c2 57 78 00 e9 29 fd ff ff 80 3d 72 fa 78 04 00 0f 85 ed fc ff ff 48 c7 c7 80 00 09 84 c6 05 5e fa 78 04 01 e8 dd cb ec ff <0f> 0b e9 d3 fc ff ff 80 3d 4c fa 78 04 00 0f 85 97 fc ff ff 48 c7
kern  :warn  : [  186.244724] RSP: 0018:ffffc90001ccf918 EFLAGS: 00010086
kern  :warn  : [  186.245001] RAX: 0000000000000000 RBX: ffff88833b745568 RCX: 0000000000000027
kern  :warn  : [  186.245320] RDX: 0000000000000027 RSI: 0000000000000004 RDI: ffff88833b730b08
kern  :warn  : [  186.245631] RBP: ffff88833b744c00 R08: 0000000000000001 R09: ffffed10676e6161
kern  :warn  : [  186.245939] R10: ffff88833b730b0b R11: 0000000000000001 R12: 0000000000019998
kern  :warn  : [  186.246248] R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000071
kern  :warn  : [  186.246552] FS:  00007f9528db6740(0000) GS:ffff88833b700000(0000) knlGS:0000000000000000
kern  :warn  : [  186.246885] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
kern  :warn  : [  186.247168] CR2: 000055d5006f9588 CR3: 000000011e3cc003 CR4: 00000000001706f0
kern  :warn  : [  186.247473] Call Trace:
kern  :warn  : [  186.247683]  <TASK>
kern  :warn  : [  186.247882]  ? __warn+0xcc/0x260
kern  :warn  : [  186.248113]  ? task_contending+0x533/0x6b0
kern  :warn  : [  186.248364]  ? report_bug+0x261/0x2c0
kern  :warn  : [  186.248615]  ? handle_bug+0x3a/0x90
kern  :warn  : [  186.248848]  ? exc_invalid_op+0x17/0x40
kern  :warn  : [  186.249095]  ? asm_exc_invalid_op+0x1a/0x20
kern  :warn  : [  186.249353]  ? task_contending+0x533/0x6b0
kern  :warn  : [  186.249605]  ? task_contending+0x533/0x6b0
kern  :warn  : [  186.249851]  enqueue_dl_entity+0xaa6/0x3370
kern  :warn  : [  186.250099]  dl_server_start+0xbe/0x7c0
kern  :warn  : [  186.250344]  ? dl_server_update_idle_time+0x131/0x340
kern  :warn  : [  186.250620]  enqueue_task_fair+0x57b/0xb40
kern  :warn  : [  186.250874]  activate_task+0x63/0xd0
kern  :warn  : [  186.251115]  sched_balance_rq+0x667/0x13d0
kern  :warn  : [  186.251363]  ? __pfx_sched_balance_rq+0x10/0x10
kern  :warn  : [  186.251630]  sched_balance_newidle+0x5b3/0xdd0
kern  :warn  : [  186.251886]  ? __pfx_sched_balance_newidle+0x10/0x10
kern  :warn  : [  186.252152]  ? sched_clock_cpu+0x6d/0x4f0
kern  :warn  : [  186.252394]  ? __pfx_sched_clock_cpu+0x10/0x10
kern  :warn  : [  186.252652]  pick_next_task_fair+0x8c/0x1420
kern  :warn  : [  186.252924]  __schedule+0x372/0x1990
kern  :warn  : [  186.253168]  ? __pfx___schedule+0x10/0x10
kern  :warn  : [  186.253408]  ? put_timespec64+0xad/0x100
kern  :warn  : [  186.253646]  ? __pfx_put_timespec64+0x10/0x10
kern  :warn  : [  186.253900]  ? __x64_sys_clock_gettime+0x18b/0x210
kern  :warn  : [  186.254173]  schedule+0x79/0x1c0
kern  :warn  : [  186.254415]  syscall_exit_to_user_mode+0x1d5/0x200
kern  :warn  : [  186.254680]  do_syscall_64+0x6b/0x170
kern  :warn  : [  186.254921]  entry_SYSCALL_64_after_hwframe+0x76/0x7e
kern  :warn  : [  186.255189] RIP: 0033:0x7f9528eba719
kern  :warn  : [  186.255424] Code: 08 89 e8 5b 5d c3 66 2e 0f 1f 84 00 00 00 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d b7 06 0d 00 f7 d8 64 89 01 48
kern  :warn  : [  186.255990] RSP: 002b:00007ffdbdd3b388 EFLAGS: 00000246 ORIG_RAX: 00000000000000e4
kern  :warn  : [  186.256325] RAX: 0000000000000000 RBX: 00007ffdbdd3b3f0 RCX: 00007f9528eba719
kern  :warn  : [  186.256631] RDX: 00000000000b2cf4 RSI: 000055d5006f9588 RDI: 0000000000000004
kern  :warn  : [  186.256939] RBP: 000055d5006c2040 R08: 00007ffdbdd3b3f0 R09: 00007ffdbdd3b3f0
kern  :warn  : [  186.257247] R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000004
kern  :warn  : [  186.257553] R13: 000055d5006cd069 R14: 000055d5006dfc98 R15: 0000000000000000
kern  :warn  : [  186.257867]  </TASK>
kern  :warn  : [  186.258077] ---[ end trace 0000000000000000 ]---


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



More information about the ltp mailing list