chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bus: actually unmap kdbus pool after use
[elogind.git]
/
src
/
libsystemd-bus
/
bus-kernel.h
diff --git
a/src/libsystemd-bus/bus-kernel.h
b/src/libsystemd-bus/bus-kernel.h
index 1651c1e41d1afb94a144df07edfd08fa387e38a6..8cf153ab4111d0bc7556a2dd37734cba14431c22 100644
(file)
--- 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)
* 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;