All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeremy Fitzhardinge <jeremy@goop.org>
To: Jan Beulich <jbeulich@novell.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: [PATCH, RFC] i386: highmem access assistance hypercalls
Date: Fri, 24 Oct 2008 17:01:36 -0700	[thread overview]
Message-ID: <490261E0.8020007@goop.org> (raw)
In-Reply-To: <48F8CB2D.76E4.0078.0@novell.com>

Jan Beulich wrote:
> While looking at the origin of very frequently executed hypercalls I
> realized that the high page accessor functions in Linux would be good
> candidates to handle in the hypervisor - clearing or copying to/from
> a high page is a pretty frequent operation (provided there's enough
> memory in the domain). While prior to the first submission I only
> measured kernel builds (where the results are not hinting at a
> meaningful improvement), I now found time to do a more specific
> analysis: page clearing is being improved by about 20%, page copying
> doesn't seem to significantly benefit (though that may be an effect of
> the simplistic copy_page() implementation Xen currently uses) -
> nevertheless I would think that if one function is supported by the
> hypervisor, then the other should also be.
>
> The hypervisor patch is below (using temporary numbers for the newly
> added sub-hypercalls), the Linux patch didn't change over the first
> submission (if the patch here is acceptable, I'll create a version
> that applies to the 2.6.18 tree).
>
> Opinions?
>   

Do you have any thoughts about what it would take to make this be useful 
in a pvops kernel?  If the Novell kernel is the only user, it seems like 
a bit of a dead end.

    J

  parent reply	other threads:[~2008-10-25  0:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-17 15:28 [PATCH, RFC] i386: highmem access assistance hypercalls Jan Beulich
2008-10-20 13:40 ` Jan Beulich
2008-10-20 14:27 ` Keir Fraser
2008-10-21  6:38   ` [PATCH, RFC] i386: highmem access assistancehypercalls Jan Beulich
2008-10-21  7:07     ` Keir Fraser
2008-10-25  0:01 ` Jeremy Fitzhardinge [this message]
2008-10-27  8:21   ` [PATCH, RFC] i386: highmem access assistance hypercalls Jan Beulich

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=490261E0.8020007@goop.org \
    --to=jeremy@goop.org \
    --cc=jbeulich@novell.com \
    --cc=xen-devel@lists.xensource.com \
    /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.