From 591a60bac99b17ba0f345ee93057ea5a148837fd Mon Sep 17 00:00:00 2001 From: Ophestra Date: Fri, 3 Apr 2026 16:48:43 +0900 Subject: internal/pkg: per-cache SCHED_IDLE This is cleaner than setting it globally, and is impossible to race. Signed-off-by: Ophestra --- internal/pkg/pkg.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'internal/pkg/pkg.go') diff --git a/internal/pkg/pkg.go b/internal/pkg/pkg.go index a542f3d2..0c882bea 100644 --- a/internal/pkg/pkg.go +++ b/internal/pkg/pkg.go @@ -503,6 +503,10 @@ const ( // This behaviour significantly reduces performance and is not recommended // outside of testing a custom [Artifact] implementation. CValidateKnown = 1 << iota + + // CSchedIdle arranges for the [ext.SCHED_IDLE] scheduling priority to be + // set for [KindExec] and [KindExecNet] containers. + CSchedIdle ) // Cache is a support layer that implementations of [Artifact] can use to store -- cgit v1.3.1