[GIT PULL] sched/urgent for v6.10

From: Borislav Petkov
Date: Sun Jul 14 2024 - 05:31:56 EST


Hi Linus,

please pull the last three sched urgent fixes for v6.10.

Thx.

---

The following changes since commit f2661062f16b2de5d7b6a5c42a9a5c96326b8454:

Linux 6.10-rc5 (2024-06-23 17:08:54 -0400)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip tags/sched_urgent_for_v6.10

for you to fetch changes up to ddae0ca2a8fe12d0e24ab10ba759c3fbd755ada8:

sched: Move psi_account_irqtime() out of update_rq_clock_task() hotpath (2024-07-01 13:01:44 +0200)

----------------------------------------------------------------
- Fix a performance regression when measuring the CPU time of a thread
(clock_gettime(CLOCK_THREAD_CPUTIME_ID,...)) due to the addition of
PSI IRQ time accounting in the hotpath

- Fix a task_struct leak due to missing to decrement the refcount when
the task is enqueued before the timer which is supposed to do that,
expires

- Revert an attempt to expedite detaching of movable tasks, as finding
those could become very costly. Turns out the original issue wasn't
even hit by anyone

----------------------------------------------------------------
John Stultz (1):
sched: Move psi_account_irqtime() out of update_rq_clock_task() hotpath

Josh Don (1):
Revert "sched/fair: Make sure to try to detach at least one movable task"

Wander Lairson Costa (1):
sched/deadline: Fix task_struct reference leak

kernel/sched/core.c | 7 +++++--
kernel/sched/deadline.c | 7 ++++++-
kernel/sched/fair.c | 12 +++---------
kernel/sched/psi.c | 21 ++++++++++++++++-----
kernel/sched/sched.h | 1 +
kernel/sched/stats.h | 11 ++++++++---
6 files changed, 39 insertions(+), 20 deletions(-)


--
Regards/Gruss,
Boris.

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