summaryrefslogtreecommitdiff
path: root/src/cgroup.c
AgeCommit message (Collapse)Author
2012-04-11move libsystemd_core.la sources into core/Kay Sievers
2012-02-10cgroup: fix inverted conditionMichal Schmidt
A bug was introduced in acb14d3 "cgroup: when getting cgroup empty notifications, always search up the tree". When the given cgroup is found the hashmap, we should be happy and return it, not go looking up the tree for another one. Fixes the hanging NetworkManager on shutdown for me.
2012-02-03cgroup: when getting cgroup empty notifications, always search up the treeLennart Poettering
2012-01-18exec: introduce ControlGroupPersistant= to make cgroups persistantLennart Poettering
2012-01-16unit: remove union UnitMichal Schmidt
Now that objects of all unit types are allocated the exact amount of memory they need, the Unit union has lost its purpose. Remove it. "Unit" is a more natural name for the base unit class than "Meta", so rename Meta to Unit. Access to members of the base class gets simplified.
2012-01-11service: brutally slaughter processes that are running in the cgroup when we ↵Lennart Poettering
enter START_PRE and START
2011-11-03cgroup: immediately remove all cgroups which run emptyLennart Poettering
Some controllers have scaling problems when many empty cgroups exist. Hence, as soon as we get a notification that a cgroup is empty, delete it. This is also nice to keep the systemd-cgls output short.
2011-11-01cgroup: always recreate cgroup before we try to apply attributesLennart Poettering
We might have trimmed the cgroup tree previously, hence don't trust our own "realized" flag, always recreate cgroup tree before applying our attributes to make sure this actually works out. https://bugzilla.redhat.com/show_bug.cgi?id=749687
2011-08-23cgroup: optionally mount a specific cgroup controllers together, and add ↵Lennart Poettering
cpu+cpuacct to the default
2011-08-20exec: optionally apply cgroup attributes to the cgroups we createLennart Poettering
2011-07-06cgroup: don't trim a cgroup we create, we might just take it over from ↵Lennart Poettering
somebody else
2011-07-01cgroup: kill processes even in cgroups that aren't realizedLennart Poettering
2011-06-30exec: add ControlGroupModify= switch to allow changing access mode to cgroups fsLennart Poettering
2011-04-20cgroup: don't accidentaly trim on reloadLennart Poettering
https://bugzilla.redhat.com/show_bug.cgi?id=678555
2011-04-12cgroup: be nice to Ingo MolnarLennart Poettering
https://bugzilla.redhat.com/show_bug.cgi?id=628004
2011-03-29cgroup: explain when we cannot initialize the cgroup stuffLennart Poettering
2011-03-03kill: always send SIGCONT after SIGTERMLennart Poettering
When we kill a process to terminate it make sure to send SIGCONT to ensure it is unpaused and processes the signal.
2011-02-13service: when guessing the main PID don't consider processes that aren't our ↵Lennart Poettering
children
2011-01-22clang: fix some issues found with clang-analyzersystemd/v17Lennart Poettering
2010-11-17cgroup: by default, duplicate service cgroup in the cpu hierarchyLennart Poettering
2010-11-15cgroup: call root cgroup system instead of systemd-1Lennart Poettering
2010-11-12build-sys: fix usage of path macrosLennart Poettering
2010-10-27service: when after startup only one process is in a service's cgroup, ↵Lennart Poettering
assume it is the main process
2010-08-31service: rework killing logic so that we always kill the main process, even ↵Lennart Poettering
if it left our service cgroup Related to: http://bugzilla.redhat.com/show_bug.cgi?id=626477
2010-08-14emacs: make sure nobody accidently adds tabs to our sourcesLennart Poettering
2010-08-13cgroup: try harder to find a unit a PID belongs to by traversing through ↵Lennart Poettering
parent cgroups
2010-08-11clang: fix numerous little issues found with clang-analyzerLennart Poettering
2010-07-12cgroup: reimplement the last bit of libcgroup functionality nativelyLennart Poettering
2010-07-11cgroup: kill processes, not tasks and other cgroup changesLennart Poettering
2010-07-10cgroup: make cgroup controller name a constantLennart Poettering
2010-07-10unit: trim cgroups when going downLennart Poettering
2010-06-21pam: implement systemd PAM module and generelize cgroup API for that a bitLennart Poettering
2010-06-18cgroup: make sure the user cannot accidentaly unmount our cgroup filesystemLennart Poettering
2010-06-16notify: add minimal readiness/status protocol for spawned daemonsLennart Poettering
2010-06-16cgroup: drop inherit flag, this mus be fixed in the kernelLennart Poettering
2010-05-20cgroup: consider not-realized cgroups empty when killing all processes in themLennart Poettering
2010-05-17cgroup: don't require debug cgroup controller anymore, use name hierarchy ↵Lennart Poettering
instead
2010-05-16build-sys: move source files to subdirectoryLennart Poettering