Re: [RFC KVM 01/27] kernel: Export memory-management symbols required for KVM address space isolation
From: Peter Zijlstra
Date: Mon May 13 2019 - 11:17:47 EST
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.