[CODE] rts with memory protection (Was: Re: [linux-audio-dev] Re: linux-audio-dev Digest, Vol 2, Issue 24)

Roger Larsson roger.larsson at norran.net
Fri Nov 21 00:26:51 UTC 2003


On Wednesday 19 November 2003 15.53, Jack O'Quin wrote:
> Roger Larsson <roger.larsson at norran.net> writes:
> > I have an idea!
> >
> > rt_monitor is running mlockall and I avoided
> > * dynamic memory allocation
> > * system calls
> > 	- If I split the function into server and monitor (two threads) it
> > 	  would be even better.
> > So rt_monitor itself should never get stuck requesting more memory, nor
> > get stuck in a system call getting stuck on another process requesting
> > more memory.
>
> Sounds like a good idea.

Something like this... some build and test bugs corrected.

/RogerL

-- 
Roger Larsson
Skellefteå
Sweden
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rts.zip
Type: application/x-zip
Size: 23868 bytes
Desc: not available
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-dev/attachments/20031121/5a88c071/attachment.bin>


More information about the Linux-audio-dev mailing list