From 82966c0a8f0dc97435b6a54c7d8f16b017b3b394 Mon Sep 17 00:00:00 2001 From: Ismo Puustinen Date: Thu, 6 Apr 2023 15:36:26 +0300 Subject: [PATCH] config-linux: clarify when the RDT sub-directory should be removed. Signed-off-by: Ismo Puustinen --- config-linux.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config-linux.md b/config-linux.md index d02046539..d4752cc0b 100644 --- a/config-linux.md +++ b/config-linux.md @@ -662,6 +662,10 @@ The following rules on parameters MUST be applied: * If `closID` is set, and neither of `l3CacheSchema` and `memBwSchema` are set, runtime MUST check if corresponding pre-configured directory `closID` is present in mounted `resctrl`. If such pre-configured directory `closID` exists, runtime MUST assign container to this `closID` and [generate an error](runtime.md#errors) if directory does not exist. +* If `closID` is not set and the runtime has created the sub-directory, the runtime MUST remove the sub-directory when the container is deleted. + +* If `closID` is set or the runtime has not created the sub-directory, the runtime MUST NOT remove the sub-directory when the container is deleted. + * **`enableCMT`** *(boolean, OPTIONAL)* - specifies if Intel RDT CMT should be enabled: * CMT (Cache Monitoring Technology) supports monitoring of the last-level cache (LLC) occupancy for the container.