cregit-Linux how code gets into the kernel

Release 4.12 include/linux/sched/nohz.h

#ifndef _LINUX_SCHED_NOHZ_H

#define _LINUX_SCHED_NOHZ_H

/*
 * This is the interface between the scheduler and nohz/dyntics:
 */

#if defined(CONFIG_SMP) && defined(CONFIG_NO_HZ_COMMON)
extern void cpu_load_update_nohz_start(void);
extern void cpu_load_update_nohz_stop(void);
#else

static inline void cpu_load_update_nohz_start(void) { }

Contributors

PersonTokensPropCommitsCommitProp
Ingo Molnar8100.00%1100.00%
Total8100.00%1100.00%


static inline void cpu_load_update_nohz_stop(void) { }

Contributors

PersonTokensPropCommitsCommitProp
Ingo Molnar8100.00%1100.00%
Total8100.00%1100.00%

#endif #if defined(CONFIG_SMP) && defined(CONFIG_NO_HZ_COMMON) extern void nohz_balance_enter_idle(int cpu); extern void set_cpu_sd_state_idle(void); extern int get_nohz_timer_target(void); #else
static inline void nohz_balance_enter_idle(int cpu) { }

Contributors

PersonTokensPropCommitsCommitProp
Ingo Molnar9100.00%1100.00%
Total9100.00%1100.00%


static inline void set_cpu_sd_state_idle(void) { }

Contributors

PersonTokensPropCommitsCommitProp
Ingo Molnar8100.00%1100.00%
Total8100.00%1100.00%

#endif #ifdef CONFIG_NO_HZ_COMMON void calc_load_enter_idle(void); void calc_load_exit_idle(void); #else
static inline void calc_load_enter_idle(void) { }

Contributors

PersonTokensPropCommitsCommitProp
Ingo Molnar8100.00%1100.00%
Total8100.00%1100.00%


static inline void calc_load_exit_idle(void) { }

Contributors

PersonTokensPropCommitsCommitProp
Ingo Molnar8100.00%1100.00%
Total8100.00%1100.00%

#endif /* CONFIG_NO_HZ_COMMON */ #if defined(CONFIG_NO_HZ_COMMON) && defined(CONFIG_SMP) extern void wake_up_nohz_cpu(int cpu); #else
static inline void wake_up_nohz_cpu(int cpu) { }

Contributors

PersonTokensPropCommitsCommitProp
Ingo Molnar9100.00%1100.00%
Total9100.00%1100.00%

#endif #ifdef CONFIG_NO_HZ_FULL extern u64 scheduler_tick_max_deferment(void); #endif #endif /* _LINUX_SCHED_NOHZ_H */

Overall Contributors

PersonTokensPropCommitsCommitProp
Ingo Molnar189100.00%2100.00%
Total189100.00%2100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.