|
@@ -84,15 +84,25 @@ enum rdt_group_type {
|
|
|
* enum rdtgrp_mode - Mode of a RDT resource group
|
|
|
* @RDT_MODE_SHAREABLE: This resource group allows sharing of its allocations
|
|
|
* @RDT_MODE_EXCLUSIVE: No sharing of this resource group's allocations allowed
|
|
|
+ * @RDT_MODE_PSEUDO_LOCKSETUP: Resource group will be used for Pseudo-Locking
|
|
|
+ * @RDT_MODE_PSEUDO_LOCKED: No sharing of this resource group's allocations
|
|
|
+ * allowed AND the allocations are Cache Pseudo-Locked
|
|
|
*
|
|
|
* The mode of a resource group enables control over the allowed overlap
|
|
|
* between allocations associated with different resource groups (classes
|
|
|
* of service). User is able to modify the mode of a resource group by
|
|
|
* writing to the "mode" resctrl file associated with the resource group.
|
|
|
+ *
|
|
|
+ * The "shareable", "exclusive", and "pseudo-locksetup" modes are set by
|
|
|
+ * writing the appropriate text to the "mode" file. A resource group enters
|
|
|
+ * "pseudo-locked" mode after the schemata is written while the resource
|
|
|
+ * group is in "pseudo-locksetup" mode.
|
|
|
*/
|
|
|
enum rdtgrp_mode {
|
|
|
RDT_MODE_SHAREABLE = 0,
|
|
|
RDT_MODE_EXCLUSIVE,
|
|
|
+ RDT_MODE_PSEUDO_LOCKSETUP,
|
|
|
+ RDT_MODE_PSEUDO_LOCKED,
|
|
|
|
|
|
/* Must be last */
|
|
|
RDT_NUM_MODES,
|