chiark / gitweb /
bus: actually unmap kdbus pool after use
[elogind.git] / src / libsystemd-bus / bus-kernel.h
index 1651c1e41d1afb94a144df07edfd08fa387e38a6..8cf153ab4111d0bc7556a2dd37734cba14431c22 100644 (file)
  * sending vectors */
 #define MEMFD_MIN_SIZE (32*1024)
 
  * 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;
 struct memfd_cache {
         int fd;
         void *address;