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

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: [CODE] rts with memory protection (Was: Re: [linux-audio-dev] Re: linux-audio-dev Digest, Vol 2, Issue 24)
From: Roger Larsson (roger.larsson_AT_norran.net)
Date: Fri Nov 21 2003 - 02:26:51 EET


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



New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Fri Nov 21 2003 - 02:38:27 EET