From: Chris Wright Subject: Re: KSM without VT / KSM for all memory Date: Fri, 26 Mar 2010 15:46:59 -0700 Message-ID: <20100326224659.GJ1744@sequoia.sous-sol.org> References: <4BACFB68.404@bobich.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org To: Gordan Bobic Return-path: Received: from sous-sol.org ([216.99.217.87]:57168 "EHLO sequoia.sous-sol.org" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754424Ab0CZWrH (ORCPT ); Fri, 26 Mar 2010 18:47:07 -0400 Content-Disposition: inline In-Reply-To: <4BACFB68.404@bobich.net> Sender: kvm-owner@vger.kernel.org List-ID: * Gordan Bobic (gordan@bobich.net) wrote: > Is it possible to use KSM: > 1) Without hardware VT support Yes. KSM and hardware virtualization support are technically not related. > 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. thanks, -chris