ia64/xen-unstable

view config/x86_64.mk @ 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 0faf620bc749
children
line source
1 CONFIG_X86 := y
2 CONFIG_X86_64 := y
3 CONFIG_X86_$(XEN_OS) := y
5 CONFIG_COMPAT := y
6 CONFIG_HVM := y
7 CONFIG_MIGRATE := y
8 CONFIG_XCUTILS := y
9 CONFIG_IOEMU := y
11 CFLAGS += -m64
13 LIBLEAFDIR = $(LIBLEAFDIR_x86_64)
14 LIBDIR = $(LIBDIR_x86_64)
16 SunOS_LIBDIR = $(SunOS_LIBDIR_x86_64)
18 # Use only if calling $(LD) directly.
19 ifeq ($(XEN_OS),OpenBSD)
20 LDFLAGS_DIRECT += -melf_x86_64_obsd
21 else
22 LDFLAGS_DIRECT += -melf_x86_64
23 endif