summaryrefslogtreecommitdiffstats
path: root/sys/sun4v/include
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2007-12-27 16:45:39 +0000
committeralc <alc@FreeBSD.org>2007-12-27 16:45:39 +0000
commit37cdbd87f5bb1a270014c737300881b26dbe2c0c (patch)
tree55ca53f4bcd6d131ca9394e3be1a58050a881ae4 /sys/sun4v/include
parent430e46303c3bc521da09dfc267d0a5fd64c1d689 (diff)
downloadFreeBSD-src-37cdbd87f5bb1a270014c737300881b26dbe2c0c.zip
FreeBSD-src-37cdbd87f5bb1a270014c737300881b26dbe2c0c.tar.gz
Add configuration knobs for the superpage reservation system. Initially,
the reservation will only be enabled on amd64.
Diffstat (limited to 'sys/sun4v/include')
-rw-r--r--sys/sun4v/include/vmparam.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/sun4v/include/vmparam.h b/sys/sun4v/include/vmparam.h
index a994401..61d4937 100644
--- a/sys/sun4v/include/vmparam.h
+++ b/sys/sun4v/include/vmparam.h
@@ -122,6 +122,13 @@
#define VM_NFREEORDER 12
/*
+ * Disable superpage reservations.
+ */
+#ifndef VM_NRESERVLEVEL
+#define VM_NRESERVLEVEL 0
+#endif
+
+/*
* Address space layout.
*
* UltraSPARC I and II implement a 44 bit virtual address space. The address
OpenPOWER on IntegriCloud