[linux-audio-dev] malloc() in RT code considered not-so-harmful?
Tim Hockin
thockin at hockin.org
Tue Jul 13 15:38:37 UTC 2004
On Tue, Jul 13, 2004 at 02:12:21PM +0200, Olivier Guilyardi wrote:
> >2. When your lock-free malloc needs more memory from the OS it will
> >still take a system call to do it. I believe I have heard it said in
> >the past that system calls of any sort are unacceptable in RT code, but
> >isn't this a bit a of a hard-line position?
>
> Is msgrcv() unacceptable as well, then ?
If you want to be careful, then yes. You can ask msgrcv to not block, but
I'd personally double check the kernel code. :)
Tim
More information about the Linux-audio-dev
mailing list