Re: [PATCH v3 2/4] sched: Introduce migratable()

From
Valentin Schneider <hidden>
Date
2021-08-22 18:14:27
Also in
linux-arm-kernel, lkml, rcu
Reply to
Sebastian Andrzej Siewior, 2021-08-17
On 17/08/21 19:09, Sebastian Andrzej Siewior wrote:
On 2021-08-11 21:13:52 [+0100], Valentin Schneider wrote:
quoted
diff --git a/include/linux/sched.h b/include/linux/sched.h
index debc960f41e3..8ba7b4a7ee69 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -1715,6 +1715,16 @@ static inline bool is_percpu_thread(void)
 #endif
 }

+/* Is the current task guaranteed to stay on its current CPU? */
+static inline bool migratable(void)
I'm going to rename this in my tree to `is_migratable' because of
<snip>

Thanks for carrying it through, I'll keep that change for the next version.
Sebastian
Thread (51 messages) 51 messages, 7 authors, last reply 2022-02-04
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help