diff options
author | Murray Calavera <murray.calavera@gmail.com> | 2016-05-26 15:38:22 +0000 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2016-05-31 09:46:45 -0400 |
commit | 5c87a79fb0763ae858e0b92801049c327768fa77 (patch) | |
tree | 457506b9f3fd65a259fc30ac24148143f3fcd73c /src/udev | |
parent | 5ad7d7f9e797cb818b0ca1353455b2bbf9fa3e31 (diff) |
udevd: remove unnecessary cgroups handling
Signed-off-by: Murray Calavera <murray.calavera@gmail.com>
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/udev')
-rw-r--r-- | src/udev/udevd.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/udev/udevd.c b/src/udev/udevd.c index b3fbc27b86..9c33eba5df 100644 --- a/src/udev/udevd.c +++ b/src/udev/udevd.c @@ -49,7 +49,6 @@ #include "udev.h" #include "udev-util.h" #include "def.h" -#include "cgroup-util.h" #include "dev-setup.h" #include "fileio.h" #include "hashmap.h" @@ -74,7 +73,6 @@ static usec_t arg_event_timeout_warn_usec = 180 * USEC_PER_SEC / 3; static sigset_t sigmask_orig; static UDEV_LIST(event_list); Hashmap *workers; -static char *udev_cgroup; static struct udev_list properties_list; static bool udev_exit; @@ -1393,10 +1391,6 @@ int main(int argc, char *argv[]) { } else if (udev_list_node_is_empty(&event_list) && hashmap_isempty(workers)) { /* we are idle */ timeout = -1; - - /* cleanup possible left-over processes in our cgroup */ - if (udev_cgroup) - cg_kill(SYSTEMD_CGROUP_CONTROLLER, udev_cgroup, SIGKILL, false, true, NULL); } else { /* kill idle or hanging workers */ timeout = 3 * MSEC_PER_SEC; |