summaryrefslogtreecommitdiff
path: root/src/irmd/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/irmd/main.c')
-rw-r--r--src/irmd/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/irmd/main.c b/src/irmd/main.c
index 57703254..8a2c143d 100644
--- a/src/irmd/main.c
+++ b/src/irmd/main.c
@@ -1905,6 +1905,9 @@ static int irm_init(void)
goto fail_rdrbuff;
}
+ if (shm_rdrbuff_mlock(irmd.rdrb) < 0)
+ log_warn("Failed to mlock rdrbuff.");
+
irmd.tpm = tpm_create(IRMD_MIN_THREADS, IRMD_ADD_THREADS,
mainloop, NULL);
if (irmd.tpm == NULL) {