From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] KVM: mmu: honor global bit on huge pages Date: Mon, 04 Dec 2006 17:29:17 +0200 Message-ID: <45743ECD.9050105@qumranet.com> References: <20061204145735.89391A0016@il.qumranet.com> <45743E0C.6090705@mandic.com.br> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, akpm-3NddpPZAyC0@public.gmane.org, mingo-X9Un+BFzKDI@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Return-path: To: "Renato S. Yamane" In-Reply-To: <45743E0C.6090705-OgAtk61DsrhwFqzsTH5u/w@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Renato S. Yamane wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Em 04-12-2006 12:57, Avi Kivity escreveu: > >> The kvm mmu attempts to cache global translations, however it misses on >> global huge page translation (which is what most global pages are). >> >> By caching global huge page translations, boot time of fc5 i386 on i386 >> is reduced from ~35 seconds to ~24 seconds. >> > > I try use this patch in Kernel 2.6.19-git5, but I receive an error message: > > /linux-2.6.19# patch -p1 < /home/yamane/Desktop/kernel/kvm.patch > can't find file to patch at input line 3 > Perhaps you used the wrong -p or --strip option? > The text leading up to this was: > - -------------------------- > |--- linux-2.6.orig/drivers/kvm/paging_tmpl.h > |+++ linux-2.6/drivers/kvm/paging_tmpl.h > - -------------------------- > File to patch: > > Whats wrong? :-( > This patch is for kvm, which lives in the -mm kernel. Apply the latest -mm patch first. -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV