Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935565AbZDBJjp (ORCPT ); Thu, 2 Apr 2009 05:39:45 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S934802AbZDBJjG (ORCPT ); Thu, 2 Apr 2009 05:39:06 -0400 Received: from mx2.redhat.com ([66.187.237.31]:58375 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753470AbZDBJjD (ORCPT ); Thu, 2 Apr 2009 05:39:03 -0400 Date: Thu, 2 Apr 2009 11:38:44 +0200 From: Andrea Arcangeli 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 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: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 718 Lines: 14 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 from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/