Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1fc8afa4 authored by Ingo Molnar's avatar Ingo Molnar
Browse files

sched: feat affine wakeups



Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent b85d0667
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -628,6 +628,7 @@ enum {
	SCHED_FEAT_HRTICK		= 8,
	SCHED_FEAT_DOUBLE_TICK		= 16,
	SCHED_FEAT_SYNC_WAKEUPS		= 32,
	SCHED_FEAT_AFFINE_WAKEUPS	= 64,
};

const_debug unsigned int sysctl_sched_features =
@@ -636,7 +637,8 @@ const_debug unsigned int sysctl_sched_features =
		SCHED_FEAT_START_DEBIT		* 1 |
		SCHED_FEAT_HRTICK		* 1 |
		SCHED_FEAT_DOUBLE_TICK		* 0 |
		SCHED_FEAT_SYNC_WAKEUPS		* 0;
		SCHED_FEAT_SYNC_WAKEUPS		* 0 |
		SCHED_FEAT_AFFINE_WAKEUPS	* 1;

#define sched_feat(x) (sysctl_sched_features & SCHED_FEAT_##x)