diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2018-06-19 10:17:40 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2018-06-19 15:39:10 +0100 |
commit | 9ab9268fa7eeda0a7ea6eb2ab02bb6c5b9c91ba0 (patch) | |
tree | 2caf7ba470834310d0cc703113929d52d121ca8b /docs/reference/igt-gpu-tools/meson.build | |
parent | 778497e7965dc8662c770a89ebbd741778feb71e (diff) |
lib: Conservatively include residual buffers in the available ram estimate
Add any buffers reported by sysinfo to the estimate of available memory.
We do ask the kernel to purge it's caches before reporting sysinfo, but
a few remain that may be forced out by our test usage, so include them.
However, be conservative and only allow them to be swapped out.
References: https://bugs.freedesktop.org/show_bug.cgi?id=105967
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Diffstat (limited to 'docs/reference/igt-gpu-tools/meson.build')
0 files changed, 0 insertions, 0 deletions