aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorNadav Amit <[email protected]>2019-04-25 04:54:43 -0700
committerGreg Kroah-Hartman <[email protected]>2019-05-24 20:19:17 +0200
commit83a8afa72e9c0a200d9d400ce83a0cb5193b0e3d (patch)
tree0964cd0514e8624a48eb0622e140d08ece28bd76 /tools/perf/scripts/python
parent418a3ab1e7785799193c0f8628cd0f01c00a03ae (diff)
vmw_balloon: Compaction support
Add support for compaction for VMware balloon. Since unlike the virtio balloon, we also support huge-pages, which are not going through compaction, we keep these pages in vmballoon and handle this list separately. We use the same lock to protect both lists, as this lock is not supposed to be contended. Doing so also eliminates the need for the page_size lists. We update the accounting as needed to reflect inflation, deflation and migration to be reflected in vmstat. Since VMware balloon now provides statistics for inflation, deflation and migration in vmstat, select MEMORY_BALLOON in Kconfig. Reviewed-by: Xavier Deguillard <[email protected]> Signed-off-by: Nadav Amit <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions