ia64/xen-unstable

view config/SunOS.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 b0fe56f7b190
children 23f9857f642f
line source
1 AS = $(CROSS_COMPILE)gas
2 LD = $(CROSS_COMPILE)gld
3 CC = $(CROSS_COMPILE)gcc
4 CPP = $(CROSS_COMPILE)gcc -E
5 AR = $(CROSS_COMPILE)gar
6 RANLIB = $(CROSS_COMPILE)granlib
7 NM = $(CROSS_COMPILE)gnm
8 STRIP = $(CROSS_COMPILE)gstrip
9 OBJCOPY = $(CROSS_COMPILE)gobjcopy
10 OBJDUMP = $(CROSS_COMPILE)gobjdump
11 SIZEUTIL = $(CROSS_COMPILE)gsize
13 MSGFMT = gmsgfmt
15 SHELL = bash
17 INSTALL = ginstall
18 INSTALL_DIR = $(INSTALL) -d -m0755 -p
19 INSTALL_DATA = $(INSTALL) -m0644 -p
20 INSTALL_PROG = $(INSTALL) -m0755 -p
22 PREFIX ?= /usr
23 BINDIR = $(PREFIX)/bin
24 INCLUDEDIR = $(PREFIX)/include
25 LIBLEAFDIR = lib
26 LIBLEAFDIR_x86_64 = lib/amd64
27 LIBDIR = $(PREFIX)/$(LIBLEAFDIR)
28 LIBDIR_x86_64 = $(PREFIX)/$(LIBLEAFDIR_x86_64)
29 MANDIR = $(PREFIX)/share/man
30 MAN1DIR = $(MANDIR)/man1
31 MAN8DIR = $(MANDIR)/man8
32 SBINDIR = $(PREFIX)/sbin
34 PRIVATE_PREFIX = $(LIBDIR)/xen
35 PRIVATE_BINDIR = $(PRIVATE_PREFIX)/bin
37 SunOS_LIBDIR = /usr/sfw/lib
38 SunOS_LIBDIR_x86_64 = /usr/sfw/lib/amd64
40 SOCKET_LIBS = -lsocket
41 CURSES_LIBS = -lcurses
42 PTHREAD_LIBS = -lpthread
43 UTIL_LIBS =
44 SONAME_LDFLAG = -h
45 SHLIB_CFLAGS = -R $(SunOS_LIBDIR) -shared
47 ifneq ($(debug),y)
48 CFLAGS += -O2 -fno-omit-frame-pointer
49 else
50 # Less than -O1 produces bad code and large stack frames
51 CFLAGS += -O1 -fno-omit-frame-pointer
52 endif
54 CFLAGS += -Wa,--divide -D_POSIX_C_SOURCE=200112L -D__EXTENSIONS__