1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/pkg/cgroups
Alexander Larsson 9294d7f2af cgroups: Join groups by writing to cgroups.procs, not tasks
cgroups.procs moves all the threads of the process, and "tasks" just
the one thread. I believe there is a risk that we move the main thread,
but then we accidentally fork off one of the other threads if the go
scheduler randomly switched to another thread. So, it seems safer (and
more correct) to use cgroups.procs.

Docker-DCO-1.1-Signed-off-by: Alexander Larsson <alexl@redhat.com> (github: alexlarsson)
2014-03-27 21:47:47 +01:00
..
apply_raw.go cgroups: Join groups by writing to cgroups.procs, not tasks 2014-03-27 21:47:47 +01:00
cgroups.go cgroups: Splity out Apply/Cleanup to separate file/interface 2014-03-27 21:47:47 +01:00
cgroups_test.go Extract cgroups pkg. 2014-01-20 14:15:44 -05:00
MAINTAINERS Extract cgroups pkg. 2014-01-20 14:15:44 -05:00