aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorHao Jia <[email protected]>2023-03-16 16:18:06 +0800
committerPeter Zijlstra <[email protected]>2023-03-22 10:10:58 +0100
commit530bfad1d53d103f98cec66a3e491a36d397884d (patch)
treed770ca67d960ed90c160e70f733a430ed0f5b1a6 /lib/test_fortify/write_overflow-strncpy-src.c
parentd91e15a21d4b3823ce93a42b05f0d171689f4e6a (diff)
sched/core: Avoid selecting the task that is throttled to run when core-sched enable
When {rt, cfs}_rq or dl task is throttled, since cookied tasks are not dequeued from the core tree, So sched_core_find() and sched_core_next() may return throttled task, which may cause throttled task to run on the CPU. So we add checks in sched_core_find() and sched_core_next() to make sure that the return is a runnable task that is not throttled. Co-developed-by: Cruz Zhao <[email protected]> Signed-off-by: Cruz Zhao <[email protected]> Signed-off-by: Hao Jia <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions