ia64/xen-unstable

view buildconfigs/src.tarball @ 18732:4413d53a8320

x86: highmem handling assistance hypercalls

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.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
author Keir Fraser <keir.fraser@citrix.com>
date Mon Oct 27 13:29:35 2008 +0000 (2008-10-27)
parents 34f7017a5941
children d6889b3b6423
line source
1 XEN_LINUX_MIRROR ?= http://www.kernel.org/pub/linux/kernel/v2.6/
2 XEN_LINUX_TARBALL ?= linux-$(LINUX_VER)-xen.tar.bz2
4 LINUX_SRCDIR ?= linux-$(LINUX_VER)
6 KETCHUP ?= python buildconfigs/ketchup
8 vpath linux-%.tar.bz2 $(LINUX_SRC_PATH)
10 # download a pristine Linux kernel tarball if there isn't one in LINUX_SRC_PATH
11 linux-%.tar.bz2:
12 @echo "Cannot find $@ in path $(LINUX_SRC_PATH)"
13 wget $(XEN_LINUX_MIRROR)/$@ -O./$@
15 # XXX create a pristine tree for diff -Nurp convenience
17 %/.valid-src: $(__XEN_LINUX_UPDATE)
18 $(KETCHUP) -d $(@D) $(LINUX_VER)
19 touch $@ # update timestamp to avoid rebuild