[Openais] Re: 2.6.9 kernel oops with openais
Steven Dake
sdake at mvista.com
Fri Oct 29 16:44:29 PDT 2004
The use case is this (on 2.6.9):
task starts as uid 0
task calls mlockall
task allocates several mb of ram
task drops root privs to non prived uid
further memory allocations fail
Thanks
-steve
On Fri, 2004-10-29 at 16:39, Chris Wright wrote:
> * Steven Dake (sdake at mvista.com) wrote:
> > well probably all related.. The best way around the memset problem is
> > to comment out the code that does the mlockall (the function is
> > aisexec_mlockall(). This then allows all memory allocations to
> > succeed. I think there must be some new limit with mlockall in the
> > 2.6.9 kernel series or later.
>
> What's the mlock issue? I changed that code about 2.6.9-rc4.
>
> thanks,
> -chris
More information about the Openais
mailing list