Re: [PATCH v3 7/8] qemu: Enable SCHED_CORE for vCPUs

2022-08-23 Thread Daniel P . Berrangé
On Fri, Aug 12, 2022 at 12:04:22PM +0200, Michal Privoznik wrote: > For QEMU_SCHED_CORE_VCPUS case, the vCPU threads should be placed > all into one scheduling group, but not the emulator or any of its > threads. Therefore, as soon as vCPU TIDs are detected, fork off a > child which then creates a

[PATCH v3 7/8] qemu: Enable SCHED_CORE for vCPUs

2022-08-12 Thread Michal Privoznik
For QEMU_SCHED_CORE_VCPUS case, the vCPU threads should be placed all into one scheduling group, but not the emulator or any of its threads. Therefore, as soon as vCPU TIDs are detected, fork off a child which then creates a separate scheduling group and adds all vCPU threads into it. Please