Don't set RLIMIT_MEMBLOCK to 0 on startup. Retain 4 pages

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1749 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
Lennart Poettering 2007-09-02 20:39:45 +00:00
parent 3e188b192c
commit ca059ab9ef
3 changed files with 8 additions and 5 deletions

View file

@ -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 @@ int main(int argc, char *argv[]) {
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 today is Linux with high-resolution timers enabled!");