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                 a...@os.inf.tu-dresden.de
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/

_______________________________________________
l4-hackers mailing list
l4-hackers@os.inf.tu-dresden.de
http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers

Reply via email to