Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-04-11 | move libsystemd_core.la sources into core/ | Kay Sievers | |
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-08-01 | load-fragment: speed up parsing by using a perfect hash table with ↵ | Lennart Poettering | |
configuration settings built by gperf | |||
2011-05-05 | unit: make ignoring in snapshots a per unit property, instead of a per unit ↵ | Lennart Poettering | |
type property | |||
2011-04-16 | manager: introduce IgnoreOnIsolate flag so that we can keep systemd-logger ↵ | Lennart Poettering | |
around when isolating | |||
2011-03-17 | def: centralize definition of default timeout in one place | Lennart Poettering | |
2011-02-28 | Spelling Corrections | Harald Hoyer | |
Just some lame spelling corrections with no functionality. | |||
2011-02-09 | device: consider udev devices with SYSTEMD_READY=0 as unplugged | 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-08 | device: don't warn if we cannot bump the socket buffer | Lennart Poettering | |
2010-11-26 | udev: make sure we aleways read from netlink, if there is data | Kay Sievers | |
2010-11-26 | udev: increase event buffer size, handle -ENOBUFS, handle filtered-out devices | Kay Sievers | |
2010-11-15 | units: get rid of no_requires unit flag, and make crypto disks require ↵ | Lennart Poettering | |
cryptsetup service | |||
2010-11-14 | manager: always pull 'following' units into transaction | Lennart Poettering | |
2010-10-28 | unit: replace recursive_stop by stop_retroactively to simplify things a little | Lennart Poettering | |
2010-10-28 | device: set recursive_stop=true by default | 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-26 | device: allow aliases on devices | Lennart Poettering | |
2010-08-20 | device: handle properly if two devices want to have the same name | Lennart Poettering | |
https://bugzilla.redhat.com/show_bug.cgi?id=624539 | |||
2010-08-20 | dbus: follow standardized fdo PropertiesChanged signal spec | Lennart Poettering | |
2010-08-17 | device: be more verbose of udev confuses us | Lennart Poettering | |
2010-08-14 | emacs: make sure nobody accidently adds tabs to our sources | Lennart Poettering | |
2010-08-06 | device: properly handle devices that are referenced before they show up | Lennart Poettering | |
2010-07-21 | unit: deduce following unit value dynamically instead of statically, to ↵ | Lennart Poettering | |
avoid dangling pointers | |||
2010-07-20 | device: do not merge devices | Lennart Poettering | |
Don't try to merge devices that have been created via dependencies when they appear in the system and can be recognized as the same. Instead, simply continue to maintain them independently of each other, however with the same state cycle. Why? Because otherwise we'd have a hard time to seperate the dependencies after the devices are unplugged again and we hence cannot be sure anymore that next time the device is plugged in it will carry the same names. Example: if one depndency refers to dev-sda.device and another one to dev-by-id-xxxyyy.device we only learn at time of plug in of the device that it is actually the same device that was ment. In the moment the device is unplugged again we won't know anymore their relation to each other and the next time the harddisk is plugged it might even appear as dev-by-id-xxxyyy.device and dev-sdb.service. To ensure the dependencies continue to have the meaning they were intended to have let's hence keep the .device objects seperate all the time, even when they are plugged in. This patch also introduces a new Following= property which points from the various .device units of a specific device to the main .device unit for it. This can be used by the client side to figure out the relation of the .device units to each other and even filter units from display. | |||
2010-07-17 | job: timeout every job independently of the unit | Lennart Poettering | |
2010-07-16 | device: rename 'available' state to 'plugged' | Lennart Poettering | |
2010-07-13 | device: properly create dependencies | Lennart Poettering | |
2010-07-07 | util: use quoted word parsing where applicable | Lennart Poettering | |
2010-06-19 | unit: get rid of various unnecessary casts | Lennart Poettering | |
2010-05-22 | device: make use of new libudev tags logic | Lennart Poettering | |
2010-05-16 | build-sys: move source files to subdirectory | Lennart Poettering | |