1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-24 21:34:08 +03:00
systemd-stable/src
Lennart Poettering 45fa9e29f8 hashmap: size hashmap bucket array dynamically
Instead of fixing the hashmap bucket array to 127 entries dynamically
size it, starting with a smaller one of 31. As soon as a fill level of
75% is reached, quadruple the size, and so on.

This should siginficantly optimize the lookup time in large tables
(from O(n) back to O(1)), and save memory on smaller tables (which most
are).
2013-10-01 00:17:21 +02:00
..
ac-power unit: add ConditionACPower= 2012-12-31 21:24:26 +01:00
activate replace tabs with spaces in various files 2013-07-02 23:06:22 -04:00
analyze systemctl: move set-log-level to systemd-analyze 2013-07-26 16:59:55 +02:00
ask-password util: rename parse_usec() to parse_sec() sinds the default unit is seconds 2013-04-03 20:12:57 +02:00
backlight backlight,random-seed: move state files into /var/lib/systemd 2013-09-17 17:28:35 -05:00
binfmt fileio: in envfiles, do not skip lines following empty lines 2013-04-13 20:24:39 -04:00
boot support acpi firmware performance data (FPDT) 2013-09-24 15:43:41 +02:00
bootchart bootchart: remove +x permissions on .c file 2013-08-14 21:47:38 -04:00
cgls cgroup: when referencing cgroup controller trees allow omission of the path 2013-09-26 20:20:30 +02:00
cgroups-agent cgroups-agent: remove ancient fallback code; turn connection error into warning 2013-07-04 20:54:40 +02:00
cgtop cgtop: fixup the online help 2013-09-04 15:02:06 +02:00
core local: fix memory leak when putting together locale settings 2013-10-01 00:17:21 +02:00
cryptsetup set IgnoreOnIsolate=true for systemd-cryptsetup@.service 2013-09-29 20:36:59 +02:00
delta systemd-delta: Only print colors when on a tty 2013-08-04 08:33:02 -04:00
detect-virt build-sys: drop all distribution specfic checks 2013-01-04 23:26:21 +01:00
efi-boot-generator support acpi firmware performance data (FPDT) 2013-09-24 15:43:41 +02:00
fsck Do no isolate in case of emergency or severe problems 2013-04-01 23:43:48 -04:00
fstab-generator Remove six unused variables and add annotation 2013-09-17 19:08:51 -04:00
getty-generator getty-generator: Enable getty on all active serial consoles. 2013-09-12 08:34:30 -04:00
gpt-auto-generator gpt-auto-generator: do not assume that /dev/block/%u:%u is useable 2013-09-17 18:04:40 -05:00
gudev licence: remove references to old FSF address 2012-12-17 11:41:31 +01:00
hostname Allow tabs in environment files 2013-09-11 21:58:22 -04:00
initctl journald: be a bit more verbose when vacuuming 2013-09-10 08:27:30 -04:00
journal Do not use unitialized variable and remove duplicated line 2013-09-27 07:59:15 +02:00
kernel-install kernel-install: avoid using 'cp --preserve' 2013-09-27 15:56:54 +02:00
libsystemd-bus remove hasprefix(), use startswith() 2013-08-22 00:52:14 -04:00
libsystemd-daemon Include <fcntl.h> instead of <sys/fcntl.h> 2013-04-13 21:02:03 -04:00
libsystemd-id128 id128: when taking user input for a 128bit ID, validate syntax 2013-04-30 08:36:01 -03:00
libudev device-nodes: move device node specific code to own file 2013-09-19 11:50:34 -04:00
locale Add /usr/share/keymaps to localectl supported locations. 2013-08-01 00:09:58 +02:00
login logind: never consider a closing session relevant for PK checks 2013-09-26 21:32:47 +02:00
machine Move functions around to fix underlinking in test-machine-tables 2013-09-26 11:12:04 +02:00
machine-id-setup build-sys: drop all distribution specfic checks 2013-01-04 23:26:21 +01:00
modules-load move _cleanup_ attribute in front of the type 2013-04-18 09:11:22 +02:00
notify core: add new "scope" unit type for making a unit of pre-existing processes 2013-07-01 00:18:00 +02:00
nspawn fix grammatical error 2013-09-19 14:55:35 -04:00
nss-myhostname build-sys: add makefile stub link to nss-myhostname/ 2013-04-30 08:36:02 -03:00
python-systemd systemd-python: check for oom, give nicer error messages 2013-08-15 12:59:36 -04:00
quotacheck quota: use QUOTACHECK path correctly as tested in configure.ac 2013-05-06 21:15:38 +02:00
random-seed random-seed: we should return errno of failed loop_write 2013-09-13 14:32:14 +02:00
rc-local-generator Standarize on one spelling of symlink error message 2013-04-24 00:25:04 -04:00
readahead Rename F_TYPE_CMP() to F_TYPE_EQUAL() 2013-08-20 21:18:43 -04:00
remount-fs Use initalization instead of explicit zeroing 2013-04-05 19:50:57 -04:00
reply-password Use initalization instead of explicit zeroing 2013-04-05 19:50:57 -04:00
run Fix two compiler warnings 2013-09-09 17:35:52 -04:00
shared hashmap: size hashmap bucket array dynamically 2013-10-01 00:17:21 +02:00
shutdownd Add __attribute__((const, pure, format)) in various places 2013-05-02 22:52:09 -04:00
sleep systemd-sleep: add support for freeze and standby 2013-05-06 22:51:57 +02:00
stdio-bridge bus: add APIs for negotiating what is attached to messages 2013-05-17 04:26:27 +02:00
sysctl sysctl: allow overwriting of values specified in "later" files 2013-08-15 18:43:31 +02:00
system-update-generator Standarize on one spelling of symlink error message 2013-04-24 00:25:04 -04:00
systemctl systemctl: make sure set-property mangles unit names 2013-09-27 00:11:54 +02:00
systemd sd-login: add a public accessor for the VT number 2013-09-11 19:08:20 +02:00
test hashmap: size hashmap bucket array dynamically 2013-10-01 00:17:21 +02:00
timedate man: improve grammar and word formatting in numerous man pages 2013-07-02 23:06:22 -04:00
tmpfiles tmpfiles: add a new "m" line type that adjusts user/group/mode of a file if it exists 2013-09-17 16:55:37 -05:00
tty-ask-password-agent conf-parser: restrict .include usage 2013-04-25 00:05:14 -03:00
udev udev-builtin-blkid: export ID_PART_TABLE_UUID 2013-09-19 11:38:48 -04:00
update-utmp utmp: turn systemd-update-utmp-shutdown.service into a normal runtime service 2013-05-16 00:19:03 +02:00
vconsole move _cleanup_ attribute in front of the type 2013-04-18 09:11:22 +02:00
.gitignore Add test coverage and generate report with lcov 2013-07-13 21:56:33 -04:00
Makefile relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00