vhost: apply cgroup to vhost workers
authorMichael S. Tsirkin <mst@redhat.com>
Tue, 27 Jul 2010 19:56:50 +0000 (22:56 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 28 Jul 2010 12:45:18 +0000 (15:45 +0300)
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: Michael 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>

No differences found