Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-10-09 | bus: fix synthetic error messages | Lennart Poettering | |
2013-10-09 | libsystemd-bus: add lightweight object vtable implementation for exposing ↵ | Lennart Poettering | |
objects on the bus This adds a lightweight scheme how to define interfaces in static fixed arrays which then can be easily registered on a bus connection. This makes it much easier to write bus services. This automatically handles implementation of the Properties, ObjectManager, and Introspection bus interfaces. | |||
2013-06-04 | bus: unmap memfd retrieved from the memfd cache | Kay Sievers | |
2013-06-04 | bus-benchmark: add performance data output mode | Kay Sievers | |
- for now, comment out munmap() check to enable memfd passing - print tab-separated values and header - add memcpy() to fill the memfd, to produce real-world results $ ./test-bus-kernel-benchmark SIZE COPY MEMFD 4194304 370 370 2097152 810 810 1048576 2130 2130 524288 4090 4090 262144 7080 7080 131072 11380 11380 65536 17140 17140 98304 13930 13930 114688 12890 12890 122880 12350 12350 126976 12150 12150 129024 12170 12170 130048 12040 12040 130560 12080 12080 130816 12010 12010 130944 12020 12020 131008 12040 12040 131040 12050 12050 131056 12010 12010 131064 12060 12060 131068 12040 12040 131070 11310 11310 131069 11420 11420 Copying/memfd are equally fast at 131068 bytes $ ./test-bus-kernel-benchmark chart SIZE COPY MEMFD 1 35570 23690 2 36470 23680 4 36160 23520 8 36600 22220 16 33900 20830 32 33990 21360 64 33480 21280 128 34050 20910 256 32950 21750 512 34730 21900 1024 33810 22890 2048 36280 23110 4096 30790 21610 8192 29380 21100 16384 26880 19820 32768 22510 17980 65536 17270 15180 131072 11400 11420 262144 7140 8270 524288 4090 5050 1048576 2110 2780 2097152 800 1140 4194304 350 580 | |||
2013-05-30 | bus: update for kdbus changes | Kay Sievers | |
2013-05-29 | bus: properly unmap mapped area | Lennart Poettering | |
2013-05-22 | bus: add benchmark tool to determine the right threshold for copying vs. memfd | Lennart Poettering | |
2013-05-17 | bus: keep kernel bus fd around during entire life-time of bus | Lennart Poettering | |
We need this since we might need to invoke the release ioctl for messages. Since we don't want to add any locking for that we simply keep a reference to the bus and then rely that the fd stays valid all the time. | |||
2013-05-16 | bus: synthesize timeout message errors instead of returning error codes | Lennart Poettering | |
2013-05-16 | bus: implement sd_bus_message_append_string_memfd() | Lennart Poettering | |
2013-05-16 | bus: send memfds as payload only on directed messages and for large parts | Lennart Poettering | |
2013-05-16 | bus: implement receiving side of memfd hookup | Lennart Poettering | |
2013-05-16 | bus: put together messages with memfd payload correctly | Lennart Poettering | |
2013-05-15 | bus: add support for adding memfds into message payload | Lennart Poettering | |
2013-05-15 | bus: rework message struct to keep header with fields in same malloc() block | Lennart Poettering | |
This allows us to guarantee that the first payload_vec we pass to the kernel for each message is guaranteed to include the full header and all its field. | |||
2013-05-15 | bus: add macro for iterating through body parts of a message | Lennart Poettering | |
2013-05-15 | bus: minor fixes | Lennart Poettering | |
2013-05-15 | bus: seal off memfds when sealing messages | Lennart Poettering | |
2013-05-14 | bus: fix allocation of body parts from memfd | Lennart Poettering | |
2013-05-14 | bus: properly handle message bodies that are a chain of memory areas rather ↵ | Lennart Poettering | |
than a single one | |||
2013-05-10 | bus: catch up with latest kdbus | Lennart Poettering | |
2013-05-10 | bus: add sd_bus_message_append_string_space() for zero-copy string appending | Lennart Poettering | |
2013-05-09 | bus: add API for appending/reading fixed arrays | Lennart Poettering | |
2013-04-23 | bus: parse capability kdbus meta data of messages | Lennart Poettering | |
2013-04-22 | bus: parse audit metadata from kdbus messages | Lennart Poettering | |
2013-04-22 | bus: parse owner uid from cgroup path, too | Lennart Poettering | |
2013-04-16 | bus: parse unit/user unit/session from cgroup path | Lennart Poettering | |
2013-04-15 | kdbus: parse cgroup meta data, too | Lennart Poettering | |
2013-04-14 | bus: fix counting of argN= matches | Lennart Poettering | |
2013-04-14 | kdbus: also parse cmdline message attribute | Lennart Poettering | |
2013-04-13 | kdbus: parse even more kernel meta data fields | Lennart Poettering | |
2013-04-12 | bus: parse and expose kdbus message timestamps | Lennart Poettering | |
2013-04-12 | bus: also parse PID starttime out of kdbus message | Lennart Poettering | |
2013-04-12 | bus: parse uid/gid/pid/tid meta data from kdbus messages | Lennart Poettering | |
2013-04-11 | bus: basic implementation of kdbus client side | Lennart Poettering | |
2013-04-11 | bus: calculate iovec for messages only when we need it | Lennart Poettering | |
2013-04-11 | macro: make sure ALIGN() can be calculated constant by the compiler | Lennart Poettering | |
If we pass a constant value to ALIGN() gcc should have the chance to calculate the value during compilation rather than runtime, so let's avoid a static inline call if we can. | |||
2013-04-10 | bus: when we unmarshal an fd it should stay owned by the message object | Lennart Poettering | |
If the user wants the fd to stay valid he should keep a reference to the message object or duplicate the fd. This unifies behaviour of demarshalling data fields and unix fds. | |||
2013-04-09 | bus: also remove recursive invocation of message_append_ap() | Lennart Poettering | |
2013-04-09 | bus: implement message_read_ap() non-recursively | Lennart Poettering | |
As it turns out if you pass a va_list to a function its state becomes undefined after that function returns, and this actually does break on x86-32. Hence, let's reimplement message_read_ap() without the use of recursion. Instead we now build our own stack of types in an array so that we can decode the entire parameter list in a single stackframe. | |||
2013-04-05 | bus: when parsing signature strings, accept NULL as empty signature | Lennart Poettering | |
2013-04-05 | bus: add convenience functions for constructing and sending method ↵ | Lennart Poettering | |
calls/signals in one call | |||
2013-04-01 | bus: when reading a message from the socket, make sure to note down the size | Lennart Poettering | |
2013-03-31 | bus: check return value from bus_type_get_alignment/size | Zbigniew Jędrzejewski-Szmek | |
2013-03-31 | bus: parse matches locally and allow registration of callbacks for them | Lennart Poettering | |
This includes code to parse and split up match strings which will also be useful to calculate bloom filter masks when the time comes. | |||
2013-03-26 | build-sys: make gcc shut up | Lennart Poettering | |
2013-03-25 | bus: make optional whether unix socket passing is negotiated and whether ↵ | Lennart Poettering | |
hello is sent This alos gets rid of explicit sd_open_fd() and sd_open_address() constructors in favour of sd_new() + sd_new_start() where the negotiation parameters may be set it in between. | |||
2013-03-25 | bus: implement support for FD passing | Lennart Poettering | |
2013-03-22 | bus: implicitly collect ucred/label information | Lennart Poettering | |
2013-03-22 | bus: when parsing enforce maximum container depth | Lennart Poettering | |