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(a)dis-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)