Skip to content

Commit 3b7939a

Browse files
committed
fixmeup: add features fields
1 parent 68936b6 commit 3b7939a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

specs-go/features/features.go

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ type Linux struct {
4747
Apparmor *Apparmor `json:"apparmor,omitempty"`
4848
Selinux *Selinux `json:"selinux,omitempty"`
4949
IntelRdt *IntelRdt `json:"intelRdt,omitempty"`
50+
MemoryPolicy *MemoryPolicy `json:"memoryPolicy,omitempty"`
5051
MountExtensions *MountExtensions `json:"mountExtensions,omitempty"`
5152
}
5253

@@ -131,6 +132,14 @@ type IntelRdt struct {
131132
Enabled *bool `json:"enabled,omitempty"`
132133
}
133134

135+
// MemoryPolicy represents the "memoryPolicy" field.
136+
type MemoryPolicy struct {
137+
// modes is the list of known memory policy modes, e.g., "MPOL_INTERLEAVE".
138+
modes []string
139+
// flags is the list of known memory policy mode flags, e.g., "MPOL_F_STATIC_NODES".
140+
flags []string
141+
}
142+
134143
// MountExtensions represents the "mountExtensions" field.
135144
type MountExtensions struct {
136145
// IDMap represents the status of idmap mounts support.

0 commit comments

Comments
 (0)