summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/shm.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-08-14 04:14:35 +0200
committerLennart Poettering <lennart@poettering.net>2009-08-14 04:14:35 +0200
commitb0cabfe16b5e44ec44828ad342ae5a48dedcc6e6 (patch)
treeb7243747be7b33bfbd17449660ce05a34870757e /src/pulsecore/shm.c
parentaae7054b1c442e62cc1154d15a4b7a569d60d8f4 (diff)
shm: bump shm size limit to 1GB
Diffstat (limited to 'src/pulsecore/shm.c')
-rw-r--r--src/pulsecore/shm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pulsecore/shm.c b/src/pulsecore/shm.c
index 6e428426..fbf777a4 100644
--- a/src/pulsecore/shm.c
+++ b/src/pulsecore/shm.c
@@ -60,7 +60,8 @@
#define MADV_REMOVE 9
#endif
-#define MAX_SHM_SIZE (PA_ALIGN(1024*1024*64))
+/* 1 GiB at max */
+#define MAX_SHM_SIZE (PA_ALIGN(1024*1024*1024))
#ifdef __linux__
/* On Linux we know that the shared memory blocks are files in