Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Aug 2013 16:23:54 +0000 (UTC)
From:      Rafal Jaworowski <raj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r254915 - head/sys/arm/include
Message-ID:  <201308261623.r7QGNsiR073040@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: raj
Date: Mon Aug 26 16:23:54 2013
New Revision: 254915
URL: http://svnweb.freebsd.org/changeset/base/254915

Log:
  Provide settings for superpage reservation system on ARM.
  
  This allows for enabling and configuring superpages reservation mechanism in
  order to allocate and populate 256 4KB base pages (for the purpose of
  promotion to a 1MB superpage).
  
  Submitted by:	Zbigniew Bodek <zbb@semihalf.com>
  Reviewed by:	alc
  Sponsored by:	The FreeBSD Foundation, Semihalf

Modified:
  head/sys/arm/include/vmparam.h

Modified: head/sys/arm/include/vmparam.h
==============================================================================
--- head/sys/arm/include/vmparam.h	Mon Aug 26 16:04:52 2013	(r254914)
+++ head/sys/arm/include/vmparam.h	Mon Aug 26 16:23:54 2013	(r254915)
@@ -109,10 +109,17 @@
 #define	VM_NFREEORDER		9
 
 /*
- * Disable superpage reservations.
+ * Enable superpage reservations: 1 level.
  */
 #ifndef	VM_NRESERVLEVEL
-#define	VM_NRESERVLEVEL		0
+#define	VM_NRESERVLEVEL		1
+#endif
+
+/*
+ * Level 0 reservations consist of 256 pages.
+ */
+#ifndef	VM_LEVEL_0_ORDER
+#define	VM_LEVEL_0_ORDER	8
 #endif
 
 #define UPT_MAX_ADDRESS		VADDR(UPTPTDI + 3, 0)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308261623.r7QGNsiR073040>