How to force allocation of new page tables from userland on a Linux/ARM system?

148 Views Asked by At

In order to reproduce a certain bug, it is necessary to be able to force creation of thousands of new page tables in the Linux kernel, and this must work on an ARM system. It must be done from an userland application without special privileges.

So more generally, when are new page tables created in the Linux kernel? I assume every time a new process is spawned. Does this mean that by fork()'ing 1000 times, we create 1000 new page tables in the kernel? Or is it not that simple?

0

There are 0 best solutions below