On Mon, May 13, 2019 at 04:38:09PM +0200, Alexandre Chartre wrote: > From: Liran Alon <liran.alon@xxxxxxxxxx> > > Export symbols needed to create, manage, populate and switch > a mm from a kernel module (kvm in this case). > > This is a hacky way for now to start. > This should be changed to some suitable memory-management API. This should not be exported at all, ever, end of story. Modules do not get to play with address spaces like that.