diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-05-17 02:32:32 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-05-17 04:26:27 +0200 |
commit | 63edf05ed9c1d4cb5cf9364e734b2a96f84622d0 (patch) | |
tree | 12c3bb838f87046c52f11b4b248642937e5daa83 /src/libsystemd-bus/bus-kernel.h | |
parent | f54514f3542db9b1f1a6f7546472718ce0d02aae (diff) |
bus: actually unmap kdbus pool after use
Diffstat (limited to 'src/libsystemd-bus/bus-kernel.h')
-rw-r--r-- | src/libsystemd-bus/bus-kernel.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libsystemd-bus/bus-kernel.h b/src/libsystemd-bus/bus-kernel.h index 1651c1e41d..8cf153ab41 100644 --- a/src/libsystemd-bus/bus-kernel.h +++ b/src/libsystemd-bus/bus-kernel.h @@ -33,6 +33,10 @@ * sending vectors */ #define MEMFD_MIN_SIZE (32*1024) +/* The size of the per-connection memory pool that we set up and where + * the kernel places our incoming messages */ +#define KDBUS_POOL_SIZE (16*1024*1024) + struct memfd_cache { int fd; void *address; |