aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorNadav Amit <[email protected]>2019-04-25 04:54:44 -0700
committerGreg Kroah-Hartman <[email protected]>2019-05-24 20:19:17 +0200
commit5d1a86ecf328586fbedf7b66595ac3c7039eb8c8 (patch)
tree05e87ca3fe5d5c0fe65f63d99325dd396c974f92 /tools/perf/scripts/python/export-to-postgresql.py
parent83a8afa72e9c0a200d9d400ce83a0cb5193b0e3d (diff)
vmw_balloon: Add memory shrinker
Add a shrinker to the VMware balloon to prevent out-of-memory events. We reuse the deflate logic for this matter. Deadlocks should not happen, as no memory allocation is performed while the locks of the communication (batch/page) and page-list are taken. In the unlikely event in which the configuration semaphore is taken for write we bail out and fail gracefully (causing processes to be killed). Once the shrinker is called, inflation is postponed for few seconds. The timeout is updated without any lock, but this should not cause any races, as it is written and read atomically. This feature is disabled by default, since it might cause performance degradation. 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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions