diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/sched.h | 4 | ||||
-rw-r--r-- | include/linux/sched/isolation.h | 4 | ||||
-rw-r--r-- | include/linux/sched/mm.h | 2 | ||||
-rw-r--r-- | include/linux/sched/stat.h | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 291a9bd5b97f..b8c7ba0e3796 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -176,7 +176,7 @@ struct task_group; | |||
176 | * TASK_RUNNING store which can collide with __set_current_state(TASK_RUNNING). | 176 | * TASK_RUNNING store which can collide with __set_current_state(TASK_RUNNING). |
177 | * | 177 | * |
178 | * However, with slightly different timing the wakeup TASK_RUNNING store can | 178 | * However, with slightly different timing the wakeup TASK_RUNNING store can |
179 | * also collide with the TASK_UNINTERRUPTIBLE store. Loosing that store is not | 179 | * also collide with the TASK_UNINTERRUPTIBLE store. Losing that store is not |
180 | * a problem either because that will result in one extra go around the loop | 180 | * a problem either because that will result in one extra go around the loop |
181 | * and our @cond test will save the day. | 181 | * and our @cond test will save the day. |
182 | * | 182 | * |
@@ -515,7 +515,7 @@ struct sched_dl_entity { | |||
515 | 515 | ||
516 | /* | 516 | /* |
517 | * Actual scheduling parameters. Initialized with the values above, | 517 | * Actual scheduling parameters. Initialized with the values above, |
518 | * they are continously updated during task execution. Note that | 518 | * they are continuously updated during task execution. Note that |
519 | * the remaining runtime could be < 0 in case we are in overrun. | 519 | * the remaining runtime could be < 0 in case we are in overrun. |
520 | */ | 520 | */ |
521 | s64 runtime; /* Remaining runtime for this instance */ | 521 | s64 runtime; /* Remaining runtime for this instance */ |
diff --git a/include/linux/sched/isolation.h b/include/linux/sched/isolation.h index 4a6582c27dea..b0fb1446fe04 100644 --- a/include/linux/sched/isolation.h +++ b/include/linux/sched/isolation.h | |||
@@ -16,7 +16,7 @@ enum hk_flags { | |||
16 | }; | 16 | }; |
17 | 17 | ||
18 | #ifdef CONFIG_CPU_ISOLATION | 18 | #ifdef CONFIG_CPU_ISOLATION |
19 | DECLARE_STATIC_KEY_FALSE(housekeeping_overriden); | 19 | DECLARE_STATIC_KEY_FALSE(housekeeping_overridden); |
20 | extern int housekeeping_any_cpu(enum hk_flags flags); | 20 | extern int housekeeping_any_cpu(enum hk_flags flags); |
21 | extern const struct cpumask *housekeeping_cpumask(enum hk_flags flags); | 21 | extern const struct cpumask *housekeeping_cpumask(enum hk_flags flags); |
22 | extern void housekeeping_affine(struct task_struct *t, enum hk_flags flags); | 22 | extern void housekeeping_affine(struct task_struct *t, enum hk_flags flags); |
@@ -43,7 +43,7 @@ static inline void housekeeping_init(void) { } | |||
43 | static inline bool housekeeping_cpu(int cpu, enum hk_flags flags) | 43 | static inline bool housekeeping_cpu(int cpu, enum hk_flags flags) |
44 | { | 44 | { |
45 | #ifdef CONFIG_CPU_ISOLATION | 45 | #ifdef CONFIG_CPU_ISOLATION |
46 | if (static_branch_unlikely(&housekeeping_overriden)) | 46 | if (static_branch_unlikely(&housekeeping_overridden)) |
47 | return housekeeping_test_cpu(cpu, flags); | 47 | return housekeeping_test_cpu(cpu, flags); |
48 | #endif | 48 | #endif |
49 | return true; | 49 | return true; |
diff --git a/include/linux/sched/mm.h b/include/linux/sched/mm.h index aebb370a0006..3bfa6a0cbba4 100644 --- a/include/linux/sched/mm.h +++ b/include/linux/sched/mm.h | |||
@@ -153,7 +153,7 @@ static inline gfp_t current_gfp_context(gfp_t flags) | |||
153 | { | 153 | { |
154 | /* | 154 | /* |
155 | * NOIO implies both NOIO and NOFS and it is a weaker context | 155 | * NOIO implies both NOIO and NOFS and it is a weaker context |
156 | * so always make sure it makes precendence | 156 | * so always make sure it makes precedence |
157 | */ | 157 | */ |
158 | if (unlikely(current->flags & PF_MEMALLOC_NOIO)) | 158 | if (unlikely(current->flags & PF_MEMALLOC_NOIO)) |
159 | flags &= ~(__GFP_IO | __GFP_FS); | 159 | flags &= ~(__GFP_IO | __GFP_FS); |
diff --git a/include/linux/sched/stat.h b/include/linux/sched/stat.h index f30954cc059d..568286411b43 100644 --- a/include/linux/sched/stat.h +++ b/include/linux/sched/stat.h | |||
@@ -8,7 +8,7 @@ | |||
8 | * Various counters maintained by the scheduler and fork(), | 8 | * Various counters maintained by the scheduler and fork(), |
9 | * exposed via /proc, sys.c or used by drivers via these APIs. | 9 | * exposed via /proc, sys.c or used by drivers via these APIs. |
10 | * | 10 | * |
11 | * ( Note that all these values are aquired without locking, | 11 | * ( Note that all these values are acquired without locking, |
12 | * so they can only be relied on in narrow circumstances. ) | 12 | * so they can only be relied on in narrow circumstances. ) |
13 | */ | 13 | */ |
14 | 14 | ||