Messages in this thread | | | Date | Thu, 2 Apr 2009 11:38:44 +0200 | From | Andrea Arcangeli <> | Subject | Re: [PATCH 4/4] add ksm kernel shared memory driver. |
| |
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.
| |