Re: [GIT PULL] sched/urgent for v6.13-rc3

From: Borislav Petkov
Date: Sat Dec 14 2024 - 12:52:49 EST


+ some more folks

On Sat, Dec 14, 2024 at 12:36:07PM -0500, Sasha Levin wrote:
> On Mon, Dec 09, 2024 at 10:48:22AM +0100, Borislav Petkov wrote:
> > Hi Linus,
> >
> > please pull the sched/urgent lineup for v6.13-rc3.
>
> Hey Boris,
>
> I'm a bit late to this party, but I've started seeing the following
> warning. I'm not 100% sure that this PR is the culprit because Linus
> ended up pulling it before I could run tests on it, but I haven't seen
> this warning before.

Reverting makes it go silent again I presume?

The only deadline patch in there is:

22368fe1f9bb ("sched/deadline: Fix replenish_dl_new_period dl_server condition")


> [ 1107.003243] ------------[ cut here ]------------
> [ 1107.010677] WARNING: CPU: 0 PID: 16 at kernel/sched/deadline.c:1995 enqueue_dl_entity+0x4a8/0x570
> [ 1107.021252] Modules linked in: crct10dif_ce sm3_ce sm3 sha3_ce sha512_ce sha512_arm64 fuse drm backlight ip_tables x_tables [last unloaded: ftrace_direct]
> [ 1107.056578] CPU: 0 UID: 0 PID: 16 Comm: ksoftirqd/0 Not tainted 6.13.0-rc2 #1
> [ 1107.064302] Hardware name: linux,dummy-virt (DT)
> [ 1107.071887] pstate: a24020c9 (NzCv daIF +PAN -UAO +TCO -DIT -SSBS BTYPE=--)
> [ 1107.080224] pc : enqueue_dl_entity+0x4a8/0x570
> [ 1107.086456] lr : return_to_handler+0x0/0x48
> [ 1107.093564] sp : ffff8000800d3a40
> [ 1107.098945] x29: ffff8000800d3a40 x28: fff00000ff6e8d80 x27: 0000000000000000
> [ 1107.112664] x26: 0000000000000001 x25: 0000000000000000 x24: 0000000000000048
> [ 1107.125440] x23: fff00000ff6c6d80 x22: 0000000000000001 x21: 000000000016e360
> [ 1107.137742] x20: 0000000000000001 x19: fff00000ff6c76e8 x18: 0000000000000000
> [ 1107.150485] x17: 0000000000000000 x16: ffff800080008000 x15: 0000000000000000
> [ 1107.163991] x14: fff00000ff6e8e00 x13: 0000000000000001 x12: 0000000000002229
> [ 1107.174756] x11: ffffb0af24c4a670 x10: ffff8000800d3a70 x9 : ffffb0af227176d0
> [ 1107.187747] x8 : ffff8000800d38d8 x7 : 0000000002d37310 x6 : fff00000c6d27500
> [ 1107.200948] x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000000
> [ 1107.215525] x2 : 0000000000000001 x1 : 0000000000000001 x0 : 0000000000000001
> [ 1107.228386] Call trace:
> [ 1107.233927] enqueue_dl_entity+0x4a8/0x570 (P)
> [ 1107.240669] dl_server_start+0x4c/0x138 (F)
> [ 1107.246980] enqueue_task_fair+0x128/0x4b0 (F)
> [ 1107.253826] enqueue_task+0x44/0x80 (F)
> [ 1107.259958] activate_task+0x70/0x90 (F)
> [ 1107.265928] attach_task+0x54/0x88 (F)
> [ 1107.272053] sched_balance_rq+0x714/0xc18 (F)
> [ 1107.278502] sched_balance_newidle.isra.0+0x1c0/0x408 (F)
> [ 1107.285769] pick_next_task_fair+0x58/0x310 (F)
> [ 1107.292581] __schedule+0x13c/0x918 (F)
> [ 1107.298583] schedule+0x38/0x110
> [ 1107.304448] smpboot_thread_fn+0x90/0x208 (F)
> [ 1107.310822] kthread+0x104/0x118
> [ 1107.317269] ret_from_fork+0x10/0x20
> [ 1107.323922] ---[ end trace 0000000000000000 ]---
> [ 1107.331245] ------------[ cut here ]------------
> [ 1107.337711] WARNING: CPU: 0 PID: 16 at kernel/sched/deadline.c:1971 enqueue_dl_entity+0x4dc/0x570
> [ 1107.346972] Modules linked in: crct10dif_ce sm3_ce sm3 sha3_ce sha512_ce sha512_arm64 fuse drm backlight ip_tables x_tables [last unloaded: ftrace_direct]
> [ 1107.379887] CPU: 0 UID: 0 PID: 16 Comm: ksoftirqd/0 Tainted: G W 6.13.0-rc2 #1
> [ 1107.388490] Tainted: [W]=WARN
> [ 1107.394103] Hardware name: linux,dummy-virt (DT)
> [ 1107.400895] pstate: a24020c9 (NzCv daIF +PAN -UAO +TCO -DIT -SSBS BTYPE=--)
> [ 1107.410286] pc : enqueue_dl_entity+0x4dc/0x570
> [ 1107.417196] lr : enqueue_dl_entity+0x21c/0x570
> [ 1107.423700] sp : ffff8000800d3a40
> [ 1107.428962] x29: ffff8000800d3a40 x28: fff00000ff6e8d80 x27: 0000000000000000
> [ 1107.441295] x26: 0000000000000001 x25: 0000000000000000 x24: 0000000000000048
> [ 1107.453709] x23: fff00000ff6c6d80 x22: 0000000000000001 x21: 000000000016e360
> [ 1107.465918] x20: fff00000ff6c6d80 x19: fff00000ff6c76e8 x18: 0000000000000000
> [ 1107.478257] x17: 0000000000000000 x16: ffff800080008000 x15: 0000000000000000
> [ 1107.490615] x14: fff00000ff6e8e00 x13: 0000000000000001 x12: 0000000000002229
> [ 1107.502996] x11: ffffb0af24c4a670 x10: ffff8000800d3a40 x9 : 0000000000000001
> [ 1107.515024] x8 : 000000003b9aca00 x7 : 00000000000cf95d x6 : 00000000000ee6b2
> [ 1107.527426] x5 : fff00000ff6c76e8 x4 : 000000003b9aca00 x3 : 000000003b9aca00
> [ 1107.541958] x2 : 0000000033e57787 x1 : 0000002000000000 x0 : 0000000000000001
> [ 1107.555125] Call trace:
> [ 1107.560909] enqueue_dl_entity+0x4dc/0x570 (P)
> [ 1107.568530] dl_server_start+0x4c/0x138 (F)
> [ 1107.574623] enqueue_task_fair+0x128/0x4b0 (F)
> [ 1107.580979] enqueue_task+0x44/0x80 (F)
> [ 1107.586877] activate_task+0x70/0x90 (F)
> [ 1107.592854] attach_task+0x54/0x88 (F)
> [ 1107.598655] sched_balance_rq+0x714/0xc18 (F)
> [ 1107.605092] sched_balance_newidle.isra.0+0x1c0/0x408 (F)
> [ 1107.612589] pick_next_task_fair+0x58/0x310 (F)
> [ 1107.619724] __schedule+0x13c/0x918 (F)
> [ 1107.626871] schedule+0x38/0x110
> [ 1107.633403] smpboot_thread_fn+0x90/0x208 (F)
> [ 1107.641197] kthread+0x104/0x118
> [ 1107.647508] ret_from_fork+0x10/0x20
> [ 1107.653843] ---[ end trace 0000000000000000 ]---

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette