diff options
Diffstat (limited to 'vendor/github.com/opencontainers/runc/libcontainer/configs/hugepage_limit.go')
-rw-r--r-- | vendor/github.com/opencontainers/runc/libcontainer/configs/hugepage_limit.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/vendor/github.com/opencontainers/runc/libcontainer/configs/hugepage_limit.go b/vendor/github.com/opencontainers/runc/libcontainer/configs/hugepage_limit.go new file mode 100644 index 000000000..d30216380 --- /dev/null +++ b/vendor/github.com/opencontainers/runc/libcontainer/configs/hugepage_limit.go @@ -0,0 +1,9 @@ +package configs + +type HugepageLimit struct { + // which type of hugepage to limit. + Pagesize string `json:"page_size"` + + // usage limit for hugepage. + Limit uint64 `json:"limit"` +} |