Index: kernel/generic/include/proc/thread.h
===================================================================
--- kernel/generic/include/proc/thread.h	(revision dfa4be625ce02c0a9d62197b2b62b4c8d6043bf3)
+++ kernel/generic/include/proc/thread.h	(revision e63e74a596d3dab316c056385061a0ffc336c62b)
@@ -193,5 +193,9 @@
 	bool stolen;
 
-	/** Thread state. */
+	/**
+	 * Thread state (state_t).
+	 * This is atomic because we read it via some commands for debug output,
+	 * otherwise it could just be a regular local.
+	 */
 	atomic_int_fast32_t state;
 
