瀏覽代碼

x86/intel_rdt: Add info files to Documentation

The content of the directories and files in the info directory of the
resctrl filesystem are not documented.

Add the missing bits and pieces.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Shaohua Li <shli@fb.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: Tony Luck <tony.luck@intel.com>
Thomas Gleixner 8 年之前
父節點
當前提交
458b0d6e75
共有 1 個文件被更改,包括 19 次插入0 次删除
  1. 19 0
      Documentation/x86/intel_rdt_ui.txt

+ 19 - 0
Documentation/x86/intel_rdt_ui.txt

@@ -17,6 +17,25 @@ mount options are:
 "cdp": Enable code/data prioritization in L3 cache allocations.
 
 
+Info directory
+--------------
+
+The 'info' directory contains information about the enabled
+resources. Each resource has its own subdirectory. The subdirectory
+names reflect the resource names. Each subdirectory contains the
+following files:
+
+"num_closids":  The number of CLOSIDs which are valid for this
+	        resource. The kernel uses the smallest number of
+		CLOSIDs of all enabled resources as limit.
+
+"cbm_mask":     The bitmask which is valid for this resource. This
+		mask is equivalent to 100%.
+
+"min_cbm_bits": The minimum number of consecutive bits which must be
+		set when writing a mask.
+
+
 Resource groups
 ---------------
 Resource groups are represented as directories in the resctrl file