|
Linux Kernel
3.7.1
|
#include <linux/latencytop.h>#include <linux/sched.h>#include <linux/cpumask.h>#include <linux/slab.h>#include <linux/profile.h>#include <linux/interrupt.h>#include <trace/events/sched.h>#include "sched.h"Go to the source code of this file.
Macros | |
| #define | SET_SYSCTL(name) (sysctl_##name = (factor) * normalized_sysctl_##name) |
| #define | WMULT_CONST (1UL << 32) |
| #define | WMULT_SHIFT 32 |
| #define | SRR(x, y) (((x) + (1UL << ((y) - 1))) >> (y)) |
| #define | entity_is_task(se) 1 |
| #define | for_each_sched_entity(se) for (; se; se = NULL) |
| #define | for_each_leaf_cfs_rq(rq, cfs_rq) for (cfs_rq = &rq->cfs; cfs_rq; cfs_rq = NULL) |
Functions | |
| void | sched_init_granularity (void) |
| struct sched_entity * | __pick_first_entity (struct cfs_rq *cfs_rq) |
| void | init_cfs_bandwidth (struct cfs_bandwidth *cfs_b) |
| void | init_cfs_rq (struct cfs_rq *cfs_rq) |
| void | free_fair_sched_group (struct task_group *tg) |
| int | alloc_fair_sched_group (struct task_group *tg, struct task_group *parent) |
| void | unregister_fair_sched_group (struct task_group *tg, int cpu) |
| __init void | init_sched_fair_class (void) |
Variables | |
| unsigned int | sysctl_sched_latency = 6000000ULL |
| unsigned int | normalized_sysctl_sched_latency = 6000000ULL |
| enum sched_tunable_scaling | sysctl_sched_tunable_scaling = SCHED_TUNABLESCALING_LOG |
| unsigned int | sysctl_sched_min_granularity = 750000ULL |
| unsigned int | normalized_sysctl_sched_min_granularity = 750000ULL |
| unsigned int sysctl_sched_child_runs_first | __read_mostly |
| unsigned int | sysctl_sched_wakeup_granularity = 1000000UL |
| unsigned int | normalized_sysctl_sched_wakeup_granularity = 1000000UL |
| const_debug unsigned int | sysctl_sched_migration_cost = 500000UL |
| unsigned int __read_mostly | sysctl_sched_shares_window = 10000000UL |
| struct sched_class | fair_sched_class |
|
read |
| void init_cfs_bandwidth | ( | struct cfs_bandwidth * | cfs_b | ) |
| unsigned int sysctl_sched_child_runs_first __read_mostly |
| struct sched_class fair_sched_class |
| unsigned int normalized_sysctl_sched_min_granularity = 750000ULL |
| unsigned int normalized_sysctl_sched_wakeup_granularity = 1000000UL |
| const_debug unsigned int sysctl_sched_migration_cost = 500000UL |
| unsigned int __read_mostly sysctl_sched_shares_window = 10000000UL |
| enum sched_tunable_scaling sysctl_sched_tunable_scaling = SCHED_TUNABLESCALING_LOG |
1.8.2