L4android mlock on vectors page causes unresolvable page fault

Adam Lackorzynski adam at os.inf.tu-dresden.de
Mon Apr 8 00:05:28 CEST 2013


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)
  return 0;

at it just works for me. Does it also work in your setup?

Adam                 adam at os.inf.tu-dresden.de
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/

More information about the l4-hackers mailing list