看板 DFBSD_bugs 關於我們 聯絡資訊
On 6/15/2010 11:32, Chris Turner wrote: > Chris Turner wrote: >> you can ifdef out this portion within pulseaudio.. > > Broken patch attached - Couldn't quite figgure out the correct > preprocessor macros to make this 'clean' - my actual build > used '#ifdef notyet' like some other things in main.c > > In any event, we now have a 'mlockall' on head - > so probably need to see if this is even necessary > moving forward before trying to get it upstream, > unless anyone wants to get fancy with their 'ifdef's > and make it version specific > Actually, the proper fix would be to make pulseaudio check with sysconf(3) for _SC_MEMLOCK, to see if the implementation supports it. In our case, it would then quickly see that we don't, as we return -1. Regards, Sascha