ia64/xen-unstable

view config/StdGNU.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 05c7efee10a1
children 633e08774dab
line source
1 AS = $(CROSS_COMPILE)as
2 LD = $(CROSS_COMPILE)ld
3 CC = $(CROSS_COMPILE)gcc
4 CPP = $(CC) -E
5 AR = $(CROSS_COMPILE)ar
6 RANLIB = $(CROSS_COMPILE)ranlib
7 NM = $(CROSS_COMPILE)nm
8 STRIP = $(CROSS_COMPILE)strip
9 OBJCOPY = $(CROSS_COMPILE)objcopy
10 OBJDUMP = $(CROSS_COMPILE)objdump
11 SIZEUTIL = $(CROSS_COMPILE)size
13 MSGFMT = msgfmt
14 MSGMERGE = msgmerge
16 # Allow git to be wrappered in the environment
17 GIT ?= git
19 INSTALL = install
20 INSTALL_DIR = $(INSTALL) -d -m0755 -p
21 INSTALL_DATA = $(INSTALL) -m0644 -p
22 INSTALL_PROG = $(INSTALL) -m0755 -p
24 PREFIX ?= /usr
25 BINDIR = $(PREFIX)/bin
26 INCLUDEDIR = $(PREFIX)/include
27 LIBLEAFDIR = lib
28 LIBLEAFDIR_x86_64 = lib64
29 LIBDIR = $(PREFIX)/$(LIBLEAFDIR)
30 LIBDIR_x86_64 = $(PREFIX)/$(LIBLEAFDIR_x86_64)
31 MANDIR = $(PREFIX)/share/man
32 MAN1DIR = $(MANDIR)/man1
33 MAN8DIR = $(MANDIR)/man8
34 SBINDIR = $(PREFIX)/sbin
36 PRIVATE_PREFIX = $(LIBDIR)/xen
37 PRIVATE_BINDIR = $(PRIVATE_PREFIX)/bin
39 SOCKET_LIBS =
40 CURSES_LIBS = -lncurses
41 PTHREAD_LIBS = -lpthread
42 UTIL_LIBS = -lutil
43 SONAME_LDFLAG = -soname
44 SHLIB_CFLAGS = -shared
46 ifneq ($(debug),y)
47 CFLAGS += -O2 -fomit-frame-pointer
48 else
49 # Less than -O1 produces bad code and large stack frames
50 CFLAGS += -O1 -fno-omit-frame-pointer -fno-optimize-sibling-calls
51 endif