Skip to content
  • Michael S. Tsirkin's avatar
    vhost: apply cgroup to vhost workers · 9e3d1957
    Michael S. Tsirkin authored
    
    
    Apply the cgroup of the owner task to the created vhost worker.
    
    Based on patches from Sridhar Samudrala's and Tejun Heo.
    Later we'll need to also apply cpumask and probably priority
    of the owner process.
    
    Discussion on the best way to do this is still ongoing.
    
    Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
    Cc: Tejun Heo <tj@kernel.org>
    Cc: Sridhar Samudrala <samudrala.sridhar@gmail.com>
    Cc: Li Zefan <lizf@cn.fujitsu.com>
    9e3d1957