]> git.proxmox.com Git - pve-container.git/commit
cgroup: don't dup cgroup.events and don't busy-loop
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Fri, 15 May 2020 13:53:22 +0000 (15:53 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 15 May 2020 14:20:10 +0000 (16:20 +0200)
commit53e131d329e844b74fb285d566c0e2527c1c3d6e
treeec2cce8cee52495c1eae3758f47c9d4da9f7d0cd
parent89424a8b32ce3836a5be7e60c8f2ac7f756d4c4c
cgroup: don't dup cgroup.events and don't busy-loop

Events are reported via POLLPRI and POLLERR (priority and
exception flags), not POLLIN (which causes a busy-loop).

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
src/PVE/LXC/CGroup.pm