mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-06 02:25:23 +00:00
Add an option to set some vcpus as real time. With a cooperative guest, this allows for getting real time behavior for a subset of guest threads. The guest will use cpusets to ensure that only real time tasks are run on the real-time CPU, and that vcpu thread is real-time on the host leading to behavior close to host real-time threads. BUG=b:142777321 TEST=crosvm --rt-cpus 1 [OPTION]... ps -AT -eo comm,sched,rtprio | grep crosvm_vcpu then check the sched policy of vcpu1 is 2 (SCHED_RR) Change-Id: Ic8e7a6840bdbce2c90e518458f6d0c50a65ca3f2 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2152167 Reviewed-by: Dylan Reid <dgreid@chromium.org> Reviewed-by: Suleiman Souhlal <suleiman@chromium.org> Tested-by: Kansho Nishida <kansho@chromium.org> Commit-Queue: Kansho Nishida <kansho@chromium.org> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |