[pulseaudio-commits] r1749 - in /branches/lennart/src/daemon: daemon-conf.c daemon.conf.in main.c
svnmailer-noreply at 0pointer.de
svnmailer-noreply at 0pointer.de
Sun Sep 2 13:39:45 PDT 2007
Author: lennart
Date: Sun Sep 2 22:39:45 2007
New Revision: 1749
URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=3D1749&root=3Dpulseaudio&vi=
ew=3Drev
Log:
Don't set RLIMIT_MEMBLOCK to 0 on startup. Retain 4 pages
Modified:
branches/lennart/src/daemon/daemon-conf.c
branches/lennart/src/daemon/daemon.conf.in
branches/lennart/src/daemon/main.c
Modified: branches/lennart/src/daemon/daemon-conf.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/lennart/src/daemon/dae=
mon-conf.c?rev=3D1749&root=3Dpulseaudio&r1=3D1748&r2=3D1749&view=3Ddiff
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- branches/lennart/src/daemon/daemon-conf.c (original)
+++ branches/lennart/src/daemon/daemon-conf.c Sun Sep 2 22:39:45 2007
@@ -86,13 +86,13 @@
.rlimit_core =3D { .value =3D 0, .is_set =3D 0 },
.rlimit_data =3D { .value =3D 0, .is_set =3D 0 },
.rlimit_fsize =3D { .value =3D 0, .is_set =3D 0 },
- .rlimit_nofile =3D { .value =3D 200, .is_set =3D 1 },
+ .rlimit_nofile =3D { .value =3D 256, .is_set =3D 1 },
.rlimit_stack =3D { .value =3D 0, .is_set =3D 0 }
#ifdef RLIMIT_NPROC
, .rlimit_nproc =3D { .value =3D 0, .is_set =3D 0 }
#endif
#ifdef RLIMIT_MEMLOCK
- , .rlimit_memlock =3D { .value =3D 0, .is_set =3D 1 }
+ , .rlimit_memlock =3D { .value =3D 16384, .is_set =3D 1 }
#endif
#endif
};
Modified: branches/lennart/src/daemon/daemon.conf.in
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/lennart/src/daemon/dae=
mon.conf.in?rev=3D1749&root=3Dpulseaudio&r1=3D1748&r2=3D1749&view=3Ddiff
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- branches/lennart/src/daemon/daemon.conf.in (original)
+++ branches/lennart/src/daemon/daemon.conf.in Sun Sep 2 22:39:45 2007
@@ -92,10 +92,10 @@
; rlimit-core =3D -1
; rlimit-data =3D -1
; rlimit-fsize =3D -1
-; rlimit-nofile =3D 200
+; rlimit-nofile =3D 256
; rlimit-stack =3D -1
; rlimit-nproc =3D -1
-; rlimit-memlock =3D 25
+; rlimit-memlock =3D 16384
=
## Disable shared memory data transfer =
; disable-shm =3D 0
Modified: branches/lennart/src/daemon/main.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/lennart/src/daemon/mai=
n.c?rev=3D1749&root=3Dpulseaudio&r1=3D1748&r2=3D1749&view=3Ddiff
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- branches/lennart/src/daemon/main.c (original)
+++ branches/lennart/src/daemon/main.c Sun Sep 2 22:39:45 2007
@@ -80,6 +80,7 @@
#include <pulsecore/random.h>
#include <pulsecore/rtsig.h>
#include <pulsecore/rtclock.h>
+#include <pulsecore/macro.h>
=
#include "cmdline.h"
#include "cpulimit.h"
@@ -584,8 +585,10 @@
signal(SIGPIPE, SIG_IGN);
#endif
=
+ pa_log_info("Page size is %lu bytes", (unsigned long) PA_PAGE_SIZE);
+ =
if (pa_rtclock_hrtimer())
- pa_log_debug("Fresh high-resolution timers available! Bon appetit!=
");
+ pa_log_info("Fresh high-resolution timers available! Bon appetit!"=
);
else
pa_log_info("Dude, your kernel stinks! The chef's recommendation t=
oday is Linux with high-resolution timers enabled!");
=
More information about the pulseaudio-commits
mailing list