From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gordan Bobic Subject: Re: KSM without VT / KSM for all memory Date: Fri, 26 Mar 2010 23:47:09 +0000 Message-ID: <4BAD477D.1060606@bobich.net> References: <4BACFB68.404@bobich.net> <20100326224659.GJ1744@sequoia.sous-sol.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit To: KVM list Return-path: Received: from 78-86-195-86.zone2.bethere.co.uk ([78.86.195.86]:48884 "EHLO sentinel1.shatteredsilicon.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751550Ab0CZXrL (ORCPT ); Fri, 26 Mar 2010 19:47:11 -0400 Received: from ariia.shatteredsilicon.net (ariia.shatteredsilicon.net [10.2.3.1]) by sentinel1.shatteredsilicon.net (Postfix) with ESMTP id 57A91F87CE for ; Fri, 26 Mar 2010 23:46:54 +0000 (GMT) In-Reply-To: <20100326224659.GJ1744@sequoia.sous-sol.org> Sender: kvm-owner@vger.kernel.org List-ID: Chris Wright wrote: >> 2) For all memory in a system, without patching all applications to >> register with it > > No. > > Right now, an app must be modified to call madvise(MADV_MERGEABLE). > Further, the core scanning loop that ksmd performs is based on per-process > virtual memory regions rather than physical memory. You mean only pages within the same process are de-duplicated? Gordan