Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-01-16 | unit: use safe downcasts, remove pointless casts | Michal Schmidt | |
Always use the macros for downcasting. Remove a few obviously pointless casts. | |||
2012-01-16 | unit: use the UNIT() macro consistently | Michal Schmidt | |
The UNIT() macro upcasts from specific unit types to the base Unit. Use it everywhere, rather than accessing the 'meta' member directly. | |||
2012-01-16 | unit: remove union Unit | Michal 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-16 | unit: reduce heap usage for unit objects | Michal Schmidt | |
The storage of the unit objects on the heap is currently not very efficient. For every unit object we allocate a chunk of memory as large as the biggest unit type, although there are significant differences in the units' real requirements. pahole shows the following sizes of structs: 488 Target 496 Snapshot 512 Device 528 Path 560 Timer 576 Automount 1080 Socket 1160 Swap 1168 Service 1280 Mount Usually there aren't many targets or snapshots in the system, but Device is one of the most common unit types and for every one we waste 1280 - 512 = 768 bytes. Fix it by allocating only the right amount for the given unit type. On my machine (x86_64, with 39 LVM volumes) this decreases systemd's USS (unique set size) by more than 300 KB. | |||
2011-11-19 | let mount and swap units log to the configured defaults | Michal Schmidt | |
Related-to: https://bugzilla.redhat.com/show_bug.cgi?id=750032 | |||
2011-08-20 | exec: optionally apply cgroup attributes to the cgroups we create | Lennart Poettering | |
2011-08-01 | load-fragment: speed up parsing by using a perfect hash table with ↵ | Lennart Poettering | |
configuration settings built by gperf | |||
2011-07-13 | unit: use ESRCH as error when we don't find anybody to kill | Lennart Poettering | |
2011-07-12 | service: properly handle who argument on D-Bus kill calls | Lennart Poettering | |
2011-06-27 | swap: ignore missing /proc/swaps | Michael Olbrich | |
Otherwise systemd reports "Failed to fully start up daemon: No such file or directory" when swap is disabled in the kernel. | |||
2011-06-21 | english: s/_per_/_by_/ | Lennart Poettering | |
2011-05-18 | exec: hangup/reset/deallocate VTs in gettys | Lennart Poettering | |
Explicitly disconnect all clients from a VT when a getty starts/finishes (requires TIOCVHANGUP, available in 2.6.29). Explicitly deallocate getty VTs in order to flush scrollback buffer. Explicitly reset terminals to a defined state before spawning getty. | |||
2011-04-16 | manager: introduce IgnoreOnIsolate flag so that we can keep systemd-logger ↵ | Lennart Poettering | |
around when isolating | |||
2011-03-31 | src: our lord is coverity | Lennart Poettering | |
2011-03-29 | exec: drop process group kill mode since it has little use and confuses the user | Lennart Poettering | |
2011-03-17 | def: centralize definition of default timeout in one place | Lennart Poettering | |
2011-03-03 | kill: always send SIGCONT after SIGTERM | Lennart 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-15 | swap: handle "nofail" from fstab | Kay Sievers | |
2011-02-15 | mount,swap: properly add dependencies to logger if needed | Lennart Poettering | |
2011-02-15 | exec: introduce global defaults for the standard output of services | Lennart Poettering | |
2011-01-22 | clang: fix some issues found with clang-analyzersystemd/v17 | Lennart Poettering | |
2011-01-20 | systemctl: highlight failed processes in systemctl status | Lennart Poettering | |
2011-01-20 | service: when reloading a service fails don't fail the entire service but ↵ | Lennart Poettering | |
just the reload job | |||
2011-01-18 | execute: make sending of SIGKILL on shutdown optional | Lennart Poettering | |
2010-11-22 | swap: order file-based swap devices after remount-rootfs | Lennart Poettering | |
2010-11-17 | cgroup: by default, duplicate service cgroup in the cpu hierarchy | Lennart Poettering | |
2010-11-14 | manager: always pull 'following' units into transaction | Lennart Poettering | |
2010-10-29 | unit: get rid of gnoreDependencyFailure= instead treat ConflictedBy= as ↵ | Lennart Poettering | |
weaker counterpart of Conflicts=, similar to Wants= vs. Requires= | |||
2010-10-28 | swap: there's no reason not order swap after sysinit, so drop it | Lennart Poettering | |
2010-10-26 | swap: add only swaps listed in /etc/fstab automatically to swap.target, ↵ | Lennart Poettering | |
others should be added via .wants/ links | |||
2010-10-26 | swap: add default cgroup to swap exec env | Lennart Poettering | |
2010-10-22 | systemctl: introduce systemctl kill | Lennart Poettering | |
2010-10-18 | swap: listen for POLLPRI events on /proc/swaps if available | Lennart Poettering | |
2010-10-12 | swap: major rework, use /sbin/swapon for setting up swaps, fix merging of ↵ | Lennart Poettering | |
aliased swap disks | |||
2010-08-31 | manager: add missing second part of s/maintenance/failed/ | Matthew Miller | |
2010-08-25 | mount: imply noauto for mount points configured with native mount files | Lennart Poettering | |
2010-08-25 | mount: rework automatic mounting to follow the 'nofail' option in fstab | Lennart Poettering | |
2010-08-25 | mount: add global configuration options for handling of auto mounts | Lennart Poettering | |
2010-08-20 | dbus: follow standardized fdo PropertiesChanged signal spec | Lennart Poettering | |
2010-08-14 | emacs: make sure nobody accidently adds tabs to our sources | Lennart Poettering | |
2010-08-09 | swap: properly enter maintenance mode on failure | Lennart Poettering | |
2010-07-19 | systemctl: introduce reset-maintenance command | Lennart Poettering | |
2010-07-12 | mount: add automatic start ordering dependencies for mounts | Lennart Poettering | |
2010-07-08 | dbus: make errors reported via D-Bus more useful | Lennart Poettering | |
2010-07-07 | manager: optionally print status updates to console on boot | Lennart Poettering | |
2010-07-03 | unit: simplify things a little by introducing API to add two dependencies in ↵ | Lennart Poettering | |
one step | |||
2010-07-01 | unit: shorten active state enums to make systemctl output nicer | Lennart Poettering | |
2010-07-01 | unit: add new abstracted maintenance state for units | Lennart Poettering | |
2010-06-19 | unit: get rid of various unnecessary casts | Lennart Poettering | |
2010-06-19 | manager: get rid of destinction between running_as=system and ↵ | Lennart Poettering | |
running_as=init, as there is little value in it and we cannot really test this |