aboutsummaryrefslogtreecommitdiff
path: root/include/linux/sched/sd_flags.h
blob: 373dc45c024ea0d8cc25d87055dd8b5f390fa2b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * sched-domains (multiprocessor balancing) flag declarations.
 */

#ifndef SD_FLAG
# error "Incorrect import of SD flags definitions"
#endif

/* Balance when about to become idle */
SD_FLAG(SD_BALANCE_NEWIDLE)
/* Balance on exec */
SD_FLAG(SD_BALANCE_EXEC)
/* Balance on fork, clone */
SD_FLAG(SD_BALANCE_FORK)
/* Balance on wakeup */
SD_FLAG(SD_BALANCE_WAKE)
/* Wake task to waking CPU */
SD_FLAG(SD_WAKE_AFFINE)
/* Domain members have different CPU capacities */
SD_FLAG(SD_ASYM_CPUCAPACITY)
/* Domain members share CPU capacity */
SD_FLAG(SD_SHARE_CPUCAPACITY)
/* Domain members share CPU pkg resources */
SD_FLAG(SD_SHARE_PKG_RESOURCES)
/* Only a single load balancing instance */
SD_FLAG(SD_SERIALIZE)
/* Place busy groups earlier in the domain */
SD_FLAG(SD_ASYM_PACKING)
/* Prefer to place tasks in a sibling domain */
SD_FLAG(SD_PREFER_SIBLING)
/* sched_domains of this level overlap */
SD_FLAG(SD_OVERLAP)
/* cross-node balancing */
SD_FLAG(SD_NUMA)