aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/cpu.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/cpu.h b/include/cpu.h
index b0c78ce..d0fc6cc 100644
--- a/include/cpu.h
+++ b/include/cpu.h
@@ -60,8 +60,9 @@ struct cpu_thread {
bool in_poller;
bool in_reinit;
bool in_fast_sleep;
- bool in_sleep;
- bool in_idle;
+ bool in_idle; /* any idle state, even busy wait */
+ bool in_sleep; /* idle which requires IPI */
+ bool in_job_sleep; /* requires IPI and cpu_wake_on_job */
uint32_t hbrt_spec_wakeup; /* primary only */
uint64_t save_l2_fir_action1;
uint64_t current_token;