Some issues with 0.9.16.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 31.08.09 12:12, Colin Guthrie (gmane at colin.guthr.ie) wrote:

>> The IO threads are hanging in ppoll(), and are hence not
>> deadlocked. The main thread hangs in mlock(). Which is a fucntion that
>> locks memory into RAM. We use it as a dirty hack for making sure
>> cached samples are swapped back into RAM before we ask the IO threads
>> to play them. Normally, mlock() should just swap things in and lock
>> them. We then immediately call munlock(). If this freezes for you then
>> there is something really wrong with your kernel. I have not seen this
>> issue before. 
>
> This seems be be behaving better with a new kernel... not had the  
> problem again so far. I think the rc8 had some messed up inotify stuff  
> which may explain it.

Uh?

mlock() and memlock() is not about synchronization. It's about
influencing swap behaviour of memory pages.

inotify is file system stuff, it has nothing to do with memoy
management.

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net
http://0pointer.net/lennart/           GnuPG 0x1A015CC4



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux