From 0e75a2b6ad231966d5f6b4a4857c48b6606817d4 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Date: Mon, 27 Mar 2023 11:47:46 +0200 Subject: [PATCH] Update the Idle view --- doc/user/emulation/nanos6.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/doc/user/emulation/nanos6.md b/doc/user/emulation/nanos6.md index 4568343..6b5b8e4 100644 --- a/doc/user/emulation/nanos6.md +++ b/doc/user/emulation/nanos6.md @@ -78,11 +78,12 @@ This view shows the type of each thread: ## Idle view -This view shows the idle state of the worker thread. A worker becomes idle when -it has nothing to do. In particular, when attempting to get a task in the -DelegationLock, after the first iteration the worker is considered idle. -Similarly, when a worker serves tasks, all the time is not moving tasks from the -queues is considered idle too. +The idle view shows when CPUs become *Idle*. This state is displayed when no +thread is *Running* in the CPU or when a worker is marked as Stalled (not making +progress) such as when busy waiting but still *Running* in the CPU. + +In particular, a worker requesting a new task will become Stalled after entering +the delegation lock and performing a complete iteration without receiving work. ## Subsystem view