Re: [PATCH 4/4] add ksm kernel shared memory driver.

Andrea Arcangeli
2009-04-02T09:39:45Z

On Wed, Apr 01, 2009 at 09:36:31PM -0500, Anthony Liguori wrote:
> on this behavior to unregister memory regions, you could potentially have
> badness happen in the kernel if ksm attempted to access an invalid memory
> region.

How could you possibly come to this conclusion? If badness could ever
happen then the original task with access to /dev/ksm could make the
same badness happen in the first place without needing to exec or pass
the fd to anybody else with IPC.