summaryrefslogtreecommitdiff
path: root/src/target.c
Commit message (Collapse)AuthorAge
* move libsystemd_core.la sources into core/Kay Sievers2012-04-11
|
* unit: use the UNIT() macro consistentlyMichal Schmidt2012-01-16
| | | | | The UNIT() macro upcasts from specific unit types to the base Unit. Use it everywhere, rather than accessing the 'meta' member directly.
* unit: remove union UnitMichal Schmidt2012-01-16
| | | | | | | | | | 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.
* unit: reduce heap usage for unit objectsMichal Schmidt2012-01-16
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* load-fragment: speed up parsing by using a perfect hash table with ↵Lennart Poettering2011-08-01
| | | | configuration settings built by gperf
* getty: move automatic serial getty logic into generatorLennart Poettering2011-03-15
|
* container: skip a few things when we are run in a container such as ↵Lennart Poettering2011-03-14
| | | | accessing /proc/cmdline
* unit: don't accidently create ordering links to targets when default deps ↵Lennart Poettering2011-03-08
| | | | are off for either target and unit
* getty: don't parse console= anymore, use /sys/class/tty/console/active insteadLennart Poettering2011-02-14
|
* getty: do not auto-spawn getty's on VC ttys if console=ttyN is usedLennart Poettering2011-02-14
| | | | https://bugzilla.redhat.com/show_bug.cgi?id=676885
* service: when reloading a service fails don't fail the entire service but ↵Lennart Poettering2011-01-20
| | | | just the reload job
* unit: get rid of gnoreDependencyFailure= instead treat ConflictedBy= as ↵Lennart Poettering2010-10-29
| | | | weaker counterpart of Conflicts=, similar to Wants= vs. Requires=
* target: add implicit target/unit ordering deps only if both sides have been ↵Lennart Poettering2010-09-14
| | | | fully loaded
* target: add default unit ordering deps from the unit not the targetLennart Poettering2010-09-13
|
* target: implicitly shutdown targets on shutdown, so that they are pulled ↵Lennart Poettering2010-09-03
| | | | into the final transaction and may be used for synchronization
* console: rework automatic getty on kernel console logic againLennart Poettering2010-08-30
| | | | | | | | | | | It is essential that the gettys are proper dependencies from getty.target so that they aren't killed and immediately restarted on runlevel changes. Hence rework the logic to implicitly add console gettys to getty.target as dependencies. This also adds an automatic hvc console for virtualizers. https://bugzilla.redhat.com/show_bug.cgi?id=501720
* dbus: follow standardized fdo PropertiesChanged signal specLennart Poettering2010-08-20
|
* emacs: make sure nobody accidently adds tabs to our sourcesLennart Poettering2010-08-14
|
* target: don't synthesize a runlevel property for targets anymore since we ↵Lennart Poettering2010-08-11
| | | | don't need it anymore and it is crutfy
* target: if the user configured a manual ordering between target units and ↵Lennart Poettering2010-07-16
| | | | the unit they require don't contradict that automatically
* unit: add DefaultDependencies= settingLennart Poettering2010-07-03
| | | | | | | | | | | In order to simplify writing of unit files introduce default dependencies that are added to all units unless explictly disabled in a unit. This option can be switched off for select units that are involved in early boot-up ot late system shutdown, This should simplify service files for most normal daemons, but breaks existing service files for software involved in early boot (notably udev), which need to be updated for a DefaultDependencies=no setting)
* unit: get rid of various unnecessary castsLennart Poettering2010-06-19
|
* systemctl: add verbs for special unitsLennart Poettering2010-06-18
|
* build-sys: move source files to subdirectoryLennart Poettering2010-05-16