From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail202.messagelabs.com (mail202.messagelabs.com [216.82.254.227]) by kanga.kvack.org (Postfix) with SMTP id 6641F6B003D for ; Thu, 2 Apr 2009 05:38:18 -0400 (EDT) Date: Thu, 2 Apr 2009 11:38:44 +0200 From: Andrea Arcangeli Subject: Re: [PATCH 4/4] add ksm kernel shared memory driver. Message-ID: <20090402093843.GG9137@random.random> References: <20090331142533.GR9137@random.random> <49D22A9D.4050403@codemonkey.ws> <20090331150218.GS9137@random.random> <49D23224.9000903@codemonkey.ws> <20090331151845.GT9137@random.random> <49D23CD1.9090208@codemonkey.ws> <20090331162525.GU9137@random.random> <49D24A02.6070000@codemonkey.ws> <20090402012215.GE1117@x200.localdomain> <49D424AF.3090806@codemonkey.ws> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49D424AF.3090806@codemonkey.ws> Sender: owner-linux-mm@kvack.org To: Anthony Liguori Cc: Chris Wright , Izik Eidus , linux-kernel@vger.kernel.org, kvm@vger.kernel.org, linux-mm@kvack.org, avi@redhat.com, riel@redhat.com, jeremy@goop.org, mtosatti@redhat.com, hugh@veritas.com, corbet@lwn.net, yaniv@redhat.com, dmonakhov@openvz.org List-ID: 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. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org