-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SUNLIGHT: SCHED: BORE - CPU scheduler v6.12
Description: - SCHED: BORE - CPU scheduler v6.12 BORE(Burst-Oriented Response Enhancer) 5.7.14 Bug: N/A Change-Id: Ied9db2be71f71fb850c2dc175cd7b7172759c5c4 Signed-off-by: Ionut Nechita <ionut_n2001@yahoo.com>
- Loading branch information
1 parent
8537539
commit eba8879
Showing
11 changed files
with
667 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
|
||
#include <linux/sched.h> | ||
#include <linux/sched/cputime.h> | ||
|
||
#ifndef _LINUX_SCHED_BORE_H | ||
#define _LINUX_SCHED_BORE_H | ||
#define SCHED_BORE_VERSION "5.7.14" | ||
|
||
#ifdef CONFIG_SCHED_BORE | ||
extern u8 __read_mostly sched_bore; | ||
extern u8 __read_mostly sched_burst_exclude_kthreads; | ||
extern u8 __read_mostly sched_burst_smoothness_long; | ||
extern u8 __read_mostly sched_burst_smoothness_short; | ||
extern u8 __read_mostly sched_burst_fork_atavistic; | ||
extern u8 __read_mostly sched_burst_parity_threshold; | ||
extern u8 __read_mostly sched_burst_penalty_offset; | ||
extern uint __read_mostly sched_burst_penalty_scale; | ||
extern uint __read_mostly sched_burst_cache_stop_count; | ||
extern uint __read_mostly sched_burst_cache_lifetime; | ||
extern uint __read_mostly sched_deadline_boost_mask; | ||
|
||
extern void update_burst_score(struct sched_entity *se); | ||
extern void update_burst_penalty(struct sched_entity *se); | ||
|
||
extern void restart_burst(struct sched_entity *se); | ||
extern void restart_burst_rescale_deadline(struct sched_entity *se); | ||
|
||
extern int sched_bore_update_handler(const struct ctl_table *table, int write, | ||
void __user *buffer, size_t *lenp, loff_t *ppos); | ||
|
||
extern void sched_clone_bore( | ||
struct task_struct *p, struct task_struct *parent, u64 clone_flags); | ||
|
||
extern void init_task_bore(struct task_struct *p); | ||
extern void sched_bore_init(void); | ||
|
||
extern void reweight_entity( | ||
struct cfs_rq *cfs_rq, struct sched_entity *se, unsigned long weight); | ||
#endif // CONFIG_SCHED_BORE | ||
#endif // _LINUX_SCHED_BORE_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.