mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-25 05:03:05 +00:00
952feb761d
At present we only have a interface to set the CPU affinity and don't implement the 'get_cpu_affinity' interface. With a 'get_cpu_affinity' interface, after the thread iterates through all physical CPUs by setting CPU affinity, it can reset its original CPU affinity that was obtained and stored through 'get_cpu_affinity' in advance. BUG=None TEST=cargo build TEST=./test_all TEST=set the CPU affinity and check the return value of 'get_cpu_affinity' Change-Id: I169fbbbb141ca80c980900ed16e4bceed1ba6432 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3217032 Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Chirantan Ekbote <chirantan@chromium.org> Reviewed-by: Chirantan Ekbote <chirantan@chromium.org> |
||
---|---|---|
.. | ||
poll_token_derive | ||
src | ||
.build_test_serial | ||
Cargo.toml |