diff options
author | Matt Delco <delco@google.com> | 2019-04-17 18:13:12 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-04-24 15:51:12 -0700 |
commit | 73e1e4e7b63e89fa6f879d368590623c7b6444c6 (patch) | |
tree | 046851f9b9579893dd8485d315884bfc5098912f /msg_socket | |
parent | e3fdadb8e18d567f7e2377613d875f12243b785a (diff) | |
download | crosvm-73e1e4e7b63e89fa6f879d368590623c7b6444c6.tar crosvm-73e1e4e7b63e89fa6f879d368590623c7b6444c6.tar.gz crosvm-73e1e4e7b63e89fa6f879d368590623c7b6444c6.tar.bz2 crosvm-73e1e4e7b63e89fa6f879d368590623c7b6444c6.tar.lz crosvm-73e1e4e7b63e89fa6f879d368590623c7b6444c6.tar.xz crosvm-73e1e4e7b63e89fa6f879d368590623c7b6444c6.tar.zst crosvm-73e1e4e7b63e89fa6f879d368590623c7b6444c6.zip |
crosvm: only clear signal when needed
Only clear signal when EINTR is indicated, rather than doing it after each attempt to run the VM. BUG=None TEST=Local compile. Ran my diagnostic plugin and confirmed that pause can still be trigger. Ran my benchmarking plugin and saw the time used decrease by about 13%. The net reduction with 2 other changes is about 42%. Change-Id: I118e05c6c62d1251946dd6432d4c933a3b8504fc Signed-off-by: Matt Delco <delco@google.com> Reviewed-on: https://chromium-review.googlesource.com/1573219 Commit-Ready: Matt Delco <delco@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Zach Reizner <zachr@chromium.org>
Diffstat (limited to 'msg_socket')
0 files changed, 0 insertions, 0 deletions