Skip to content

Commit 96bcd04

Browse files
committed
Merge pull request opencontainers#198 from runcom/hugepagetlb-limit-type
Change HugepageLimit.Limit type to uint64
2 parents 5e633ba + 6b5a66f commit 96bcd04

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

runtime_config_linux.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,10 @@ type Rlimit struct {
9292

9393
// HugepageLimit structure corresponds to limiting kernel hugepages
9494
type HugepageLimit struct {
95+
// Pagesize is the hugepage size
9596
Pagesize string `json:"pageSize"`
96-
Limit int `json:"limit"`
97+
// Limit is the limit of "hugepagesize" hugetlb usage
98+
Limit uint64 `json:"limit"`
9799
}
98100

99101
// InterfacePriority for network interfaces

0 commit comments

Comments
 (0)