* [GIT PULL] sched/urgent for v6.13-rc3
@ 2024-12-09 9:48 Borislav Petkov
2024-12-09 18:38 ` pr-tracker-bot
2024-12-14 17:36 ` Sasha Levin
0 siblings, 2 replies; 7+ messages in thread
From: Borislav Petkov @ 2024-12-09 9:48 UTC (permalink / raw)
To: Linus Torvalds; +Cc: x86-ml, lkml
Hi Linus,
please pull the sched/urgent lineup for v6.13-rc3.
Thx.
---
The following changes since commit 40384c840ea1944d7c5a392e8975ed088ecf0b37:
Linux 6.13-rc1 (2024-12-01 14:28:56 -0800)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip tags/sched_urgent_for_v6.13_rc3
for you to fetch changes up to 82f9cc094975240885c93effbca7f4603f5de1bf:
locking: rtmutex: Fix wake_q logic in task_blocks_on_rt_mutex (2024-12-02 12:01:29 +0100)
----------------------------------------------------------------
- Remove wrong enqueueing of a task for a later wakeup when a task blocks on
a RT mutex
- Do not setup a new deadline entity on a boosted task as that has happened
already
- Update preempt= kernel command line param
- Prevent needless softirqd wakeups in the idle task's context
- Detect the case where the idle load balancer CPU becomes busy and avoid
unnecessary load balancing invocation
- Remove an unnecessary load balancing need_resched() call in nohz_csd_func()
- Allow for raising of SCHED_SOFTIRQ softirq type on RT but retain the warning
to catch any other cases
- Remove a wrong warning when a cpuset update makes the task affinity no
longer a subset of the cpuset
----------------------------------------------------------------
John Stultz (1):
locking: rtmutex: Fix wake_q logic in task_blocks_on_rt_mutex
Josh Don (1):
sched: fix warning in sched_setaffinity
Juri Lelli (1):
sched/deadline: Fix replenish_dl_new_period dl_server condition
K Prateek Nayak (4):
softirq: Allow raising SCHED_SOFTIRQ from SMP-call-function on RT kernel
sched/core: Remove the unnecessary need_resched() check in nohz_csd_func()
sched/fair: Check idle_cpu() before need_resched() to detect ilb CPU turning busy
sched/core: Prevent wakeup of ksoftirqd during idle load balance
Sebastian Andrzej Siewior (1):
sched/core: Update kernel boot parameters for LAZY preempt.
Wander Lairson Costa (1):
sched/deadline: Fix warning in migrate_enable for boosted tasks
Documentation/admin-guide/kernel-parameters.txt | 5 +++++
kernel/locking/rtmutex.c | 3 ---
kernel/sched/core.c | 4 ++--
kernel/sched/deadline.c | 3 ++-
kernel/sched/fair.c | 2 +-
kernel/sched/syscalls.c | 2 +-
kernel/softirq.c | 15 +++++++++++----
7 files changed, 22 insertions(+), 12 deletions(-)
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [GIT PULL] sched/urgent for v6.13-rc3 2024-12-09 9:48 [GIT PULL] sched/urgent for v6.13-rc3 Borislav Petkov @ 2024-12-09 18:38 ` pr-tracker-bot 2024-12-14 17:36 ` Sasha Levin 1 sibling, 0 replies; 7+ messages in thread From: pr-tracker-bot @ 2024-12-09 18:38 UTC (permalink / raw) To: Borislav Petkov; +Cc: Linus Torvalds, x86-ml, lkml The pull request you sent on Mon, 9 Dec 2024 10:48:22 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip tags/sched_urgent_for_v6.13_rc3 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/df9e2102de839c587eb50b2a5d1d19b07a6caaf5 Thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [GIT PULL] sched/urgent for v6.13-rc3 2024-12-09 9:48 [GIT PULL] sched/urgent for v6.13-rc3 Borislav Petkov 2024-12-09 18:38 ` pr-tracker-bot @ 2024-12-14 17:36 ` Sasha Levin 2024-12-14 17:52 ` Borislav Petkov 2024-12-14 18:05 ` Peter Zijlstra 1 sibling, 2 replies; 7+ messages in thread From: Sasha Levin @ 2024-12-14 17:36 UTC (permalink / raw) To: Borislav Petkov; +Cc: Linus Torvalds, x86-ml, lkml 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. [ 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 ]--- ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [GIT PULL] sched/urgent for v6.13-rc3 2024-12-14 17:36 ` Sasha Levin @ 2024-12-14 17:52 ` Borislav Petkov 2024-12-14 18:05 ` Peter Zijlstra 1 sibling, 0 replies; 7+ messages in thread From: Borislav Petkov @ 2024-12-14 17:52 UTC (permalink / raw) To: Sasha Levin; +Cc: Linus Torvalds, x86-ml, lkml, Juri Lelli, Peter Zijlstra + 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [GIT PULL] sched/urgent for v6.13-rc3 2024-12-14 17:36 ` Sasha Levin 2024-12-14 17:52 ` Borislav Petkov @ 2024-12-14 18:05 ` Peter Zijlstra 2024-12-14 18:32 ` Peter Zijlstra 2024-12-15 18:45 ` pr-tracker-bot 1 sibling, 2 replies; 7+ messages in thread From: Peter Zijlstra @ 2024-12-14 18:05 UTC (permalink / raw) To: Sasha Levin; +Cc: Borislav Petkov, Linus Torvalds, x86-ml, lkml 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. > > [ 1107.003243] ------------[ cut here ]------------ > [ 1107.010677] WARNING: CPU: 0 PID: 16 at kernel/sched/deadline.c:1995 enqueue_dl_entity+0x4a8/0x570 Ah, yeah, no. That's a known issue which we *finally* managed to track down last week. Unfortunately this sched/urgent pull does not yet include those patches. If you want them, they can be had here: git://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git sched/urgent I was meaning to push them to tip/sched/urgent on Monday, so they'd be in next week's batch. But if people want them now, have at :-) ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [GIT PULL] sched/urgent for v6.13-rc3 2024-12-14 18:05 ` Peter Zijlstra @ 2024-12-14 18:32 ` Peter Zijlstra 2024-12-15 18:45 ` pr-tracker-bot 1 sibling, 0 replies; 7+ messages in thread From: Peter Zijlstra @ 2024-12-14 18:32 UTC (permalink / raw) To: Sasha Levin; +Cc: Borislav Petkov, Linus Torvalds, x86-ml, lkml On Sat, Dec 14, 2024 at 07:05:37PM +0100, Peter Zijlstra wrote: > 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. > > > > [ 1107.003243] ------------[ cut here ]------------ > > [ 1107.010677] WARNING: CPU: 0 PID: 16 at kernel/sched/deadline.c:1995 enqueue_dl_entity+0x4a8/0x570 > > Ah, yeah, no. That's a known issue which we *finally* managed to track > down last week. Unfortunately this sched/urgent pull does not yet > include those patches. > > If you want them, they can be had here: > > git://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git sched/urgent > > I was meaning to push them to tip/sched/urgent on Monday, so they'd be > in next week's batch. /me finds that the robots have blessed them and it's only Saturday, so I could push them into tip now and then they go to Linus tomorrow. Yep, let me do that. ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Re: [GIT PULL] sched/urgent for v6.13-rc3 2024-12-14 18:05 ` Peter Zijlstra 2024-12-14 18:32 ` Peter Zijlstra @ 2024-12-15 18:45 ` pr-tracker-bot 1 sibling, 0 replies; 7+ messages in thread From: pr-tracker-bot @ 2024-12-15 18:45 UTC (permalink / raw) To: Peter Zijlstra; +Cc: Sasha Levin, Borislav Petkov, Linus Torvalds, x86-ml, lkml The pull request you sent on Sat, 14 Dec 2024 19:05:37 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git sched/urgent has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/acd855a949fc168f5cefe643ed4875a052b66060 Thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2024-12-15 18:45 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2024-12-09 9:48 [GIT PULL] sched/urgent for v6.13-rc3 Borislav Petkov 2024-12-09 18:38 ` pr-tracker-bot 2024-12-14 17:36 ` Sasha Levin 2024-12-14 17:52 ` Borislav Petkov 2024-12-14 18:05 ` Peter Zijlstra 2024-12-14 18:32 ` Peter Zijlstra 2024-12-15 18:45 ` pr-tracker-bot
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®