Re: [RFC PATCH 4/4] vhost: Add cgroup-aware creation of worker threads

2015-07-27 Thread Michael S. Tsirkin
On Mon, Jul 13, 2015 at 12:07:35AM -0400, Bandan Das wrote: > With the help of the cgroup function to compare groups introduced > in the previous patch, this changes worker creation policy. > If the new device belongs to different cgroups than any of the > devices we are currently serving, we end u

[RFC PATCH 4/4] vhost: Add cgroup-aware creation of worker threads

2015-07-12 Thread Bandan Das
With the help of the cgroup function to compare groups introduced in the previous patch, this changes worker creation policy. If the new device belongs to different cgroups than any of the devices we are currently serving, we end up creating a new worker thread even if we haven't reached the devs_p