summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorVasily Gorbik <gor@linux.ibm.com>2026-08-07 03:52:10 +0000
committerPeter Zijlstra <peterz@infradead.org>2026-09-02 09:37:20 +0200
commit09351db90a28ee6a82dc873609edfde02da5415d (patch)
treee8c3587cb66b983c9f206dd61ba697affda293d7 /scripts/Makefile.thinlto
parent9be817f991e2eba140669d350df2a07d81f26fc8 (diff)
downloadlinux-next-09351db90a28ee6a82dc873609edfde02da5415d.tar.gz
linux-next-09351db90a28ee6a82dc873609edfde02da5415d.zip
sched/core: Don't proxy-exec unmatched cookie lock owners
Core scheduling chooses a core-wide cookie before __schedule() installs the next task. With proxy-exec enabled, that task becomes the donor/scheduling context, and find_proxy_task() may then replace the execution context with the runnable mutex owner. If its cookie differs from the selected core cookie, running it would bypass core scheduling's cookie selection. When the final mutex owner found by find_proxy_task() does not match the selected core cookie, stop proxying the donor. If the current execution context is already in the blocked chain, fall back to idle like the existing proxy-exec retry paths do. Otherwise deactivate the donor and let __schedule() pick again. The mutex owner can be picked later under its own cookie. Fixes: 7de9d4f94638 ("sched: Start blocked_on chain processing in find_proxy_task()") [jstultz: Added tweak to ensure we deactivate donor, not runnable owner] Reported-by: K Prateek Nayak <kprateek.nayak@amd.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com> Signed-off-by: John Stultz <jstultz@google.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lore.kernel.org/lkml/10282ce9-f4ae-498f-9b57-f4e1e61fffbc@amd.com/ Link: https://patch.msgid.link/20260807035232.1881495-5-jstultz@google.com
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions