Re: L4android mlock on vectors page causes unresolvable page fault
Adam Lackorzynski <[email protected]>
| Newsgroups | gmane.comp.micro-kernel.l4.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi,
On Fri Apr 05, 2013 at 10:10:21 +0200, Matthias Petschick wrote:
> while experimenting with lvm, I noticed that mlocking the vectors page
> at 0xbffff000 from user space causes an unresolvable page fault (see
> full trace below). In particular, the lvcreate process attempts to lock
> its mapped memory regions when activating a volume, which includes the
> vectors page.
Thanks for the report. I tried with the following:
#include <sys/mman.h>
int main(void)
{
mlockall(MCL_CURRENT);
return 0;
}
at it just works for me. Does it also work in your setup?
Adam
--
Adam [email protected]
Lackorzynski http://os.inf.tu-dresden.de/~adam/