We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e19b205 commit fac1c20Copy full SHA for fac1c20
include/linux/cpuhotplug.h
@@ -3,6 +3,24 @@
3
4
#include <linux/types.h>
5
6
+/*
7
+ * CPU-up CPU-down
8
+ *
9
+ * BP AP BP AP
10
11
+ * OFFLINE OFFLINE
12
+ * | ^
13
+ * v |
14
+ * BRINGUP_CPU->AP_OFFLINE BRINGUP_CPU <- AP_IDLE_DEAD (idle thread/play_dead)
15
+ * | AP_OFFLINE
16
+ * v (IRQ-off) ,---------------^
17
+ * AP_ONLNE | (stop_machine)
18
+ * | TEARDOWN_CPU <- AP_ONLINE_IDLE
19
20
21
+ * AP_ACTIVE AP_ACTIVE
22
+ */
23
+
24
enum cpuhp_state {
25
CPUHP_OFFLINE,
26
CPUHP_CREATE_THREADS,
0 commit comments