OpenVZ Forum


Home » Mailing lists » Devel » [PATCH 03/33] task containersv11 add tasks file interface
Re: [PATCH 03/33] task containersv11 add tasks file interface [message #21252 is a reply to message #21246] Wed, 03 October 2007 18:15 Go to previous messageGo to previous message
Paul Menage is currently offline  Paul Menage
Messages: 642
Registered: September 2006
Senior Member
On 10/3/07, Paul Jackson <pj@sgi.com> wrote:
>
> So after changing the 'cpus' of a cpuset, you (something in
> user space) then has to rewrite every pid in that cpusets
> tasks file back to that same tasks file, in order to get the
> change to be applied to each of those tasks, and get them to
> start running on their new CPUs.

What happens to the new child that got forked right between userspace
reading the 'tasks' file and writing back the pids?

Paul
_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [patch 0/1][NETNS49] Make af_unix autobind per namespace
Next Topic: [PATCH 0/3] Consolidate cgroup files creation for resource counters
Goto Forum:
  


Current Time: Tue Sep 17 20:23:46 GMT 2024

Total time taken to generate the page: 0.06701 seconds