diff options
author | Zach Reizner <zachr@google.com> | 2018-01-26 17:37:57 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-03-30 21:53:32 -0700 |
commit | 5d586b73a4c78f4118b97e65a229cbb7e99bf963 (patch) | |
tree | b12bc9fde02864a8788788790c97b5dce206ce0f /kvm_sys | |
parent | 3e40b51a62b08dc27dcaa7fbec630e047713aba1 (diff) | |
download | crosvm-5d586b73a4c78f4118b97e65a229cbb7e99bf963.tar crosvm-5d586b73a4c78f4118b97e65a229cbb7e99bf963.tar.gz crosvm-5d586b73a4c78f4118b97e65a229cbb7e99bf963.tar.bz2 crosvm-5d586b73a4c78f4118b97e65a229cbb7e99bf963.tar.lz crosvm-5d586b73a4c78f4118b97e65a229cbb7e99bf963.tar.xz crosvm-5d586b73a4c78f4118b97e65a229cbb7e99bf963.tar.zst crosvm-5d586b73a4c78f4118b97e65a229cbb7e99bf963.zip |
sys_util: use MADV_DONTDUMP for new mmaps
The mmaps made through the sys_util API are usually for guest memory or other large shared memory chunks that will pollute the file system with huge dumps on crash. By using MADV_DONTDUMP, we save the file system from storing these useless data segments when crosvm crashes. TEST=./build_test BUG=None Change-Id: I2041523648cd7c150bbdbfceef589f42d3f9c2b9 Reviewed-on: https://chromium-review.googlesource.com/890279 Commit-Ready: Zach Reizner <zachr@chromium.org> Tested-by: Zach Reizner <zachr@chromium.org> Reviewed-by: Stephen Barber <smbarber@chromium.org>
Diffstat (limited to 'kvm_sys')
0 files changed, 0 insertions, 0 deletions