Index: kernel/generic/include/proc/thread.h
===================================================================
--- kernel/generic/include/proc/thread.h	(revision dfa4be625ce02c0a9d62197b2b62b4c8d6043bf3)
+++ kernel/generic/include/proc/thread.h	(revision 74cb66109763c1d227d236094006a779dee50793)
@@ -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;
 
