Skip to content

Commit f267276

Browse files
committed
Revert "fixup! sched: Resolve sched_feat() at compile time to improve code optimization"
This reverts commit 85ecd2d. Signed-off-by: Yahya Wessam <yahyawessam2002@gmail.com>
1 parent 2afa1b6 commit f267276

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/sched/features.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
* skip buddy i.e task called yield() is always skipped and the
3131
* next entity is selected to run irrespective of the vruntime
3232
*/
33-
#define SCHED_FEAT_STRICT_SKIP_BUDDY 1
33+
SCHED_FEAT(STRICT_SKIP_BUDDY, true)
3434

3535
/*
3636
* Consider buddies to be cache hot, decreases the likelyness of a

0 commit comments

Comments
 (0)