From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nikola Ciprich Subject: Re: KSM with Debian GNU/Linux Date: Mon, 9 Aug 2010 13:00:49 +0200 Message-ID: <20100809110049.GC30078@develbox.linuxbox.cz> References: <20100809101635.GB1771@defiant.freesoftware> <4C5FD800.9000905@msgid.tls.msk.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dbareiro@gmx.net, KVM General , nikola.ciprich@linuxbox.cz To: Michael Tokarev Return-path: Received: from gwu.lbox.cz ([62.245.111.132]:51568 "EHLO gwu.lbox.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756152Ab0HIK6b (ORCPT ); Mon, 9 Aug 2010 06:58:31 -0400 Content-Disposition: inline In-Reply-To: <4C5FD800.9000905@msgid.tls.msk.ru> Sender: kvm-owner@vger.kernel.org List-ID: Hi, I don't have clue what glibc is contained in debian, but it seems to me that at least compile-time KSM support DOES depend on glibc. I'm using RHEL5-based system and KSM support doesn't get compiled in by default. But since I use new kernel, I add following to CFLAGS while compiling qemu-kvm and then it works: -DMADV_MERGEABLE=12 -DMADV_UNMERGEABLE=13 just my 5cents regards nik On Mon, Aug 09, 2010 at 02:27:12PM +0400, Michael Tokarev wrote: > 09.08.2010 14:16, Daniel Bareiro wrote: > >Hi all! > > > >I have understood that in addition to support from the kernel and > >qemu-kvm, there must be support in libc. So in testing I was doing on > >Lenny, it did not work using libc from Debian repositories. Now that > >squeeze is frozen, anyone knows if it will support KSM? > > KSM is working in qemu-kvm packages in bpo, for quite long > time already. It has nothing to do with libc, and now it > does not even require recent-enough kernel headers to compile. > What's needed is recent-enough kernel that actually implements > the feature. The kernel in Lenny does not KSM support, but > the one in bpo has. Also note that Lenny's kernel is too old > for kvm. > > /mjt > -- > To unsubscribe from this list: send the line "unsubscribe kvm" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- ------------------------------------- Ing. Nikola CIPRICH LinuxBox.cz, s.r.o. 28. rijna 168, 709 01 Ostrava tel.: +420 596 603 142 fax: +420 596 621 273 mobil: +420 777 093 799 www.linuxbox.cz mobil servis: +420 737 238 656 email servis: servis@linuxbox.cz -------------------------------------