Re: [linux-audio-user] realtime parameters ignored at Gentoo startup

From: <james@email-addr-hidden-dot-dat.net>
Date: Wed Mar 09 2005 - 19:45:44 EET

On Wed, 09 Mar, 2005 at 11:27AM -0600, Jack O'Quin spake thus:
>
> > On Wed, 09 Mar, 2005 at 06:12AM -0800, Robert Persson spake thus:
> >> I asked this question on the gentoo-users list and apparently if I put
> >>
> >> options realtime gid=18 mlock=1
> >>
> >> into /etc/modules.d/realtime
> >>
> >> that should do the trick. I'll try it out tomorrow.
> >> Robert.
>
> james@email-addr-hidden-dot-dat.net writes:
> > Well, I do as suggested above, but I use:
> >
> > realtime any=1
> >
> > What's the significance of using mlock?
>
> It enables programs to lock memory using the mlock() and mlockall()
> system calls. Since mlock=1 is the default, leaving it off has no
> effect. If you don't need to lock memory, setting mlock=0 will remove
> that capability.
>
> BTW, I recommend using the `gid' option instead of `any'. It provides
> noticeably better security for very little extra effort.

Yeah, I'm lazy. If you ask nicely, I'll give you my bank details.

-- 
"I'd crawl over an acre of 'Visual This++' and 'Integrated Development
That' to get to gcc, Emacs, and gdb.  Thank you."
(By Vance Petree, Virginia Power)
Received on Wed Mar 9 20:15:09 2005

This archive was generated by hypermail 2.1.8 : Wed Mar 09 2005 - 20:15:10 EET