From owner-svn-src-head@FreeBSD.ORG Thu Feb 14 19:38:05 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 61C36E9C; Thu, 14 Feb 2013 19:38:05 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 4EA9591C; Thu, 14 Feb 2013 19:38:05 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r1EJc5wP034229; Thu, 14 Feb 2013 19:38:05 GMT (envelope-from jhb@svn.freebsd.org) Received: (from jhb@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id r1EJc4Np034226; Thu, 14 Feb 2013 19:38:04 GMT (envelope-from jhb@svn.freebsd.org) Message-Id: <201302141938.r1EJc4Np034226@svn.freebsd.org> From: John Baldwin Date: Thu, 14 Feb 2013 19:38:04 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r246805 - in head/sys: conf vm x86/acpica X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Feb 2013 19:38:05 -0000 Author: jhb Date: Thu Feb 14 19:38:04 2013 New Revision: 246805 URL: http://svnweb.freebsd.org/changeset/base/246805 Log: Make VM_NDOMAIN a kernel option so that it can be enabled from a kernel config file. Requested by: phk (ages ago) MFC after: 1 month Modified: head/sys/conf/options head/sys/vm/vm_phys.c head/sys/x86/acpica/srat.c Modified: head/sys/conf/options ============================================================================== --- head/sys/conf/options Thu Feb 14 19:27:52 2013 (r246804) +++ head/sys/conf/options Thu Feb 14 19:38:04 2013 (r246805) @@ -588,6 +588,7 @@ VFS_BIO_DEBUG opt_global.h VM_KMEM_SIZE opt_vm.h VM_KMEM_SIZE_SCALE opt_vm.h VM_KMEM_SIZE_MAX opt_vm.h +VM_NDOMAIN opt_vm.h VM_NRESERVLEVEL opt_vm.h VM_LEVEL_0_ORDER opt_vm.h NO_SWAPPING opt_vm.h Modified: head/sys/vm/vm_phys.c ============================================================================== --- head/sys/vm/vm_phys.c Thu Feb 14 19:27:52 2013 (r246804) +++ head/sys/vm/vm_phys.c Thu Feb 14 19:38:04 2013 (r246805) @@ -40,6 +40,7 @@ __FBSDID("$FreeBSD$"); #include "opt_ddb.h" +#include "opt_vm.h" #include #include Modified: head/sys/x86/acpica/srat.c ============================================================================== --- head/sys/x86/acpica/srat.c Thu Feb 14 19:27:52 2013 (r246804) +++ head/sys/x86/acpica/srat.c Thu Feb 14 19:38:04 2013 (r246805) @@ -28,6 +28,8 @@ #include __FBSDID("$FreeBSD$"); +#include "opt_vm.h" + #include #include #include