Re: 2.6.9 kernel oops with openais
From: Steven Dake
Date: Fri Oct 29 2004 - 19:18:12 EST
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@xxxxxxxxxx) 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/