#include <linux/sched.h>
#include <linux/mutex.h>
#include <linux/spinlock.h>
#include <linux/stop_machine.h>
#include "cpupri.h"
#include "stats.h"
#include "auto_group.h"
#include "features.h"
Go to the source code of this file.
|
| DECLARE_PER_CPU (struct rq, runqueues) |
|
void | sysrq_sched_debug_show (void) |
|
void | sched_init_granularity (void) |
|
void | update_max_interval (void) |
|
void | update_group_power (struct sched_domain *sd, int cpu) |
|
int | update_runtime (struct notifier_block *nfb, unsigned long action, void *hcpu) |
|
void | init_sched_rt_class (void) |
|
void | init_sched_fair_class (void) |
|
void | resched_task (struct task_struct *p) |
|
void | resched_cpu (int cpu) |
|
void | init_rt_bandwidth (struct rt_bandwidth *rt_b, u64 period, u64 runtime) |
|
void | update_idle_cpu_load (struct rq *this_rq) |
|
void | update_rq_clock (struct rq *rq) |
|
void | activate_task (struct rq *rq, struct task_struct *p, int flags) |
|
void | deactivate_task (struct rq *rq, struct task_struct *p, int flags) |
|
void | check_preempt_curr (struct rq *rq, struct task_struct *p, int flags) |
|
void | start_bandwidth_timer (struct hrtimer *period_timer, ktime_t period) |
|
struct sched_entity * | __pick_first_entity (struct cfs_rq *cfs_rq) |
|
struct sched_entity * | __pick_last_entity (struct cfs_rq *cfs_rq) |
|
void | print_cfs_stats (struct seq_file *m, int cpu) |
|
void | print_rt_stats (struct seq_file *m, int cpu) |
|
void | init_cfs_rq (struct cfs_rq *cfs_rq) |
|
void | init_rt_rq (struct rt_rq *rt_rq, struct rq *rq) |
|
void | account_cfs_bandwidth_used (int enabled, int was_enabled) |
|
#define const_debug const |
#define CPU_LOAD_IDX_MAX 5 |
#define finish_arch_post_lock_switch |
( |
|
void | ) |
do { } while (0) |
#define finish_arch_switch |
( |
|
prev | ) |
do { } while (0) |
#define NICE_TO_PRIO |
( |
|
nice | ) |
(MAX_RT_PRIO + (nice) + 20) |
#define prepare_arch_switch |
( |
|
next | ) |
do { } while (0) |
#define RUNTIME_INF ((u64)~0ULL) |
#define task_rq |
( |
|
p | ) |
cpu_rq(task_cpu(p)) |
#define TASK_USER_PRIO |
( |
|
p | ) |
USER_PRIO((p)->static_prio) |
#define WEIGHT_IDLEPRIO 3 |
#define WMULT_IDLEPRIO 1431655765 |
- Enumerator:
-
Definition at line 617 of file sched.h.
- Enumerator:
CPUACCT_STAT_USER |
|
CPUACCT_STAT_SYSTEM |
|
CPUACCT_STAT_NSTATS |
|
Definition at line 831 of file sched.h.
void account_cfs_bandwidth_used |
( |
int |
enabled, |
|
|
int |
was_enabled |
|
) |
| |
DECLARE_PER_CPU |
( |
struct rq |
, |
|
|
runqueues |
|
|
) |
| |
Definition at line 35 of file rt.c.
Definition at line 60 of file rt.c.
Definition at line 12 of file rt.c.