managarm/hel
Loading...
Searching...
No Matches
Public Attributes | List of all members
HelSqAwaitPressure Struct Reference

SQ data for kHelSubmitAwaitPressure. More...

#include <hel.h>

Public Attributes

HelHandle hierarchyHandle
 Handle to the hierarchy. Requires kHelRightManage.
 
uint64_t sequence
 Previous sequence number (zero before the first report).
 
uint64_t cancellationTag
 Tag to cancel this operation.
 

Detailed Description

SQ data for kHelSubmitAwaitPressure.

Reclaim stalls on a waiting allocation if it cannot provide memory for it. The kernel reports each such allocation once if it waits at or below the effective memory floor of the hierarchy. Userspace is expected to check HelHierarchyStats::stalledShortfall (repeatedly, if necessary) and to free memory if the stall persists, e.g., by terminating threads. Completes once the sequence number of the last report differs from sequence.


The documentation for this struct was generated from the following file: