]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: rearrange cgroup empty events a bit
authorLennart Poettering <lennart@poettering.net>
Mon, 18 Mar 2019 19:21:11 +0000 (20:21 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 9 Apr 2019 09:17:57 +0000 (11:17 +0200)
commitcbe83389d56bfcf0e7ba4b63312a64755fe27e9c
tree81bed6d77f6fd5ea74a34419eca1729dd99dc780
parent52efbd8f0e1b13ccbe4c623d17171a94d51186d2
core: rearrange cgroup empty events a bit

So far the priorities for cgroup empty event handling were pretty weird.
The raw events (on cgroupsv2 from inotify, on cgroupsv1 from the agent
dgram socket) where scheduled at a lower priority than the cgroup empty
queue dispatcher. Let's swap that and ensure that we can coalesce events
more agressively: let's process the raw events at higher priority than
the cgroup empty event (which remains at the same prio).
src/core/cgroup.c
src/core/manager.c