All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Renato S. Yamane" <renatoyamane@mandic.com.br>
To: Avi Kivity <avi@qumranet.com>
Cc: kvm-devel@lists.sourceforge.net, akpm@osdl.org, mingo@elte.hu,
	linux-kernel@vger.kernel.org, renatoyamane@mandic.com.br
Subject: Re: [PATCH] KVM: mmu: honor global bit on huge pages
Date: Mon, 04 Dec 2006 13:26:04 -0200	[thread overview]
Message-ID: <45743E0C.6090705@mandic.com.br> (raw)
In-Reply-To: <20061204145735.89391A0016@il.qumranet.com>

-----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? :-(

Best regards,
- --
Renato S. Yamane
Fingerprint: 68AE A381 938A F4B9 8A23  D11A E351 5030 D420 515A
PGP Server: http://pgp.mit.edu/ --> KeyID: 0xD420515A
<http://www.renatoyamane.com>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFFdD4M41FQMNQgUVoRAqLLAJ0QY0x67w7TrYFqJqgCZ3XT3i35IgCeNfvy
+YYKNzrY46tvbM+nf9u1lc4=
=gkQV
-----END PGP SIGNATURE-----

WARNING: multiple messages have this Message-ID (diff)
From: "Renato S. Yamane" <renatoyamane-OgAtk61DsrhwFqzsTH5u/w@public.gmane.org>
To: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org,
	akpm-3NddpPZAyC0@public.gmane.org,
	mingo-X9Un+BFzKDI@public.gmane.org,
	renatoyamane-OgAtk61DsrhwFqzsTH5u/w@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH] KVM: mmu: honor global bit on huge pages
Date: Mon, 04 Dec 2006 13:26:04 -0200	[thread overview]
Message-ID: <45743E0C.6090705@mandic.com.br> (raw)
In-Reply-To: <20061204145735.89391A0016-LjA0eNSCdXrQnzwC+xcbyw@public.gmane.org>

-----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? :-(

Best regards,
- --
Renato S. Yamane
Fingerprint: 68AE A381 938A F4B9 8A23  D11A E351 5030 D420 515A
PGP Server: http://pgp.mit.edu/ --> KeyID: 0xD420515A
<http://www.renatoyamane.com>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFFdD4M41FQMNQgUVoRAqLLAJ0QY0x67w7TrYFqJqgCZ3XT3i35IgCeNfvy
+YYKNzrY46tvbM+nf9u1lc4=
=gkQV
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
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

  reply	other threads:[~2006-12-04 15:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-04 14:57 [PATCH] KVM: mmu: honor global bit on huge pages Avi Kivity
2006-12-04 14:57 ` Avi Kivity
2006-12-04 15:26 ` Renato S. Yamane [this message]
2006-12-04 15:26   ` Renato S. Yamane
2006-12-04 15:29   ` Avi Kivity
2006-12-04 15:29     ` Avi Kivity
2006-12-04 15:32     ` Avi Kivity
2006-12-04 15:32       ` Avi Kivity

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45743E0C.6090705@mandic.com.br \
    --to=renatoyamane@mandic.com.br \
    --cc=akpm@osdl.org \
    --cc=avi@qumranet.com \
    --cc=kvm-devel@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.