Skip to content

Commit

Permalink
Merge pull request opencontainers#58 from lizf-os/support-memory-swap…
Browse files Browse the repository at this point in the history
…piness

Add memory swappiness to linux spec
  • Loading branch information
crosbymichael committed Jul 6, 2015
2 parents d803cc1 + 09dff75 commit 554ea25
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ type Memory struct {
Swap int64 `json:"swap"`
// Kernel memory limit (in bytes)
Kernel int64 `json:"kernel"`
// How aggressive the kernel will swap memory pages. Range from 0 to 100. Set -1 to use system default.
Swappiness int64 `json:"swappiness"`
}

type CPU struct {
Expand Down

0 comments on commit 554ea25

Please sign in to comment.