Skip to content

Commit 70b72ae

Browse files
Enrique Saurezppenna
authored andcommitted
doc: clarify restore-finish waiter ownership
Distinguish the inline deferred restore checks and detector release from the deadline waiter and grace-period grandchild. Preserve the actual child-reaping boundary without changing helper behavior. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 41345a73-b73f-4332-9ffd-9c513214af7a
1 parent 96b592d commit 70b72ae

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

‎doc/guest-agent-guidelines.md‎

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,14 @@ Retained compatibility paths also start helpers. An init may use
3838
`nvx-ingress inherit`; the caller owns that announcer, while `nvx-init` starts
3939
and owns its own announcer. In report-only mode without a running time daemon,
4040
[`TimeAbi::restore_finish`](../nvx-rs/src/guest/time/api.rs) forks a child for
41-
deferred checks and detector release and waits for that child, which coordinates
42-
an RCU-check grandchild. An enforcing or strict finish instead reports the
43-
missing daemon as a time-ABI violation. These are actual retained helper
44-
call paths, not new workload orchestration or workspace enforcement.
41+
the RCU deadline wait. The deferred restore checks and detector release run in
42+
the calling process, which must have no other thread. The waiter child forks
43+
a grandchild that forces an RCU grace period and waits for it until the RCU
44+
stall timeout. The call reaps only the waiter; a grandchild that outlives the
45+
timeout passes to init or the nearest subreaper. An enforcing or strict finish
46+
instead reports the missing daemon as a time-ABI violation. These are actual
47+
retained helper call paths, not new workload orchestration or workspace
48+
enforcement.
4549

4650
## Construct the space
4751

0 commit comments

Comments
 (0)