diff options
| author | Mark Rutland <mark.rutland@arm.com> | 2026-08-03 20:17:27 +0100 |
|---|---|---|
| committer | Peter Zijlstra <peterz@infradead.org> | 2026-09-02 09:37:22 +0200 |
| commit | 88e0b3bb9930605ad7e5d3ddac7d9875325bebf0 (patch) | |
| tree | 004b417a234eaefc07a39713bc57936ee0ad2d0e /scripts/Makefile.thinlto | |
| parent | d3d16750693b540299cd105968174556012aba09 (diff) | |
| download | linux-next-88e0b3bb9930605ad7e5d3ddac7d9875325bebf0.tar.gz linux-next-88e0b3bb9930605ad7e5d3ddac7d9875325bebf0.zip | |
sched: dynamic: Simplify {cond,might}_resched()
PREEMPT_DYNAMIC is now limited to the FULL and LAZY preemption models.
In either model, both cond_resched() and might_resched() are always
disabled and do nothing.
Remove the unnecessary code for these when PREEMPT_DYNAMIC is selected.
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Shrikanth Hegde <sshegde@linux.ibm.com>
Reviewed-by: Jinjie Ruan <ruanjinjie@huawei.com>
Tested-by: Mete Durlu <meted@linux.ibm.com>
Tested-by: Shrikanth Hegde <sshegde@linux.ibm.com>
Tested-by: Jinjie Ruan <ruanjinjie@huawei.com>
Link: https://patch.msgid.link/20260803191731.3244294-3-mark.rutland@arm.com
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
