From: Marek Olszewski <mareko@csail.mit.edu>
To: kvm@vger.kernel.org
Subject: Avoiding the page cache?
Date: Thu, 28 Jan 2010 16:38:14 -0500 [thread overview]
Message-ID: <4B6203C6.90907@csail.mit.edu> (raw)
Hello,
I'm trying to start using kvm to do some research here at MIT. I would
like to try out some interesting page mapping ideas we have that would
be easier to try out in a hypervisor than inside the linux kernel.
However, I would like to start hacking a simple version of kvm that
doesn't do any shadow page table caching as this would make things much
easier. I noticed that some earlier versions of kvm in the mainline
kernel repository (eg 399badf315bd...) around January 2007 do this, but
I had trouble getting them to work with qemu on an x86_64 processor
(seems like x86_64 was not supported that well in the kvm branch of qemu
back then). How hard do you guys think in would be to change the
current code to avoid using the cache?
I'm guessing I would have to change mmu_free_roots() to free all the
pages in the shadow page table, but beyond that I'm a bit lost. Can
anybody help me out with some small pointers to get me started?
Thanks!
Marek
reply other threads:[~2010-01-28 21:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=4B6203C6.90907@csail.mit.edu \
--to=mareko@csail.mit.edu \
--cc=kvm@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox