Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 May 2014 23:23:53 +0000 (UTC)
From:      Attilio Rao <attilio@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r266603 - user/attilio/rm_vmobj_cache/sys/arm/arm
Message-ID:  <201405232323.s4NNNr2o015899@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: attilio
Date: Fri May 23 23:23:53 2014
New Revision: 266603
URL: http://svnweb.freebsd.org/changeset/base/266603

Log:
  Fix a case of an unmanaged page allocation which doesn't request
  wiring.

Modified:
  user/attilio/rm_vmobj_cache/sys/arm/arm/machdep.c

Modified: user/attilio/rm_vmobj_cache/sys/arm/arm/machdep.c
==============================================================================
--- user/attilio/rm_vmobj_cache/sys/arm/arm/machdep.c	Fri May 23 23:13:34 2014	(r266602)
+++ user/attilio/rm_vmobj_cache/sys/arm/arm/machdep.c	Fri May 23 23:23:53 2014	(r266603)
@@ -387,7 +387,8 @@ cpu_startup(void *dummy)
 	pmap_kenter_user(ARM_TP_ADDRESS, ARM_TP_ADDRESS);
 	arm_lock_cache_line(ARM_TP_ADDRESS);
 #else
-	m = vm_page_alloc(NULL, 0, VM_ALLOC_NOOBJ | VM_ALLOC_ZERO);
+	m = vm_page_alloc(NULL, 0, VM_ALLOC_NOOBJ | VM_ALLOC_ZERO |
+	    VM_ALLOC_WIRED);
 	pmap_kenter_user(ARM_TP_ADDRESS, VM_PAGE_TO_PHYS(m));
 #endif
 	*(uint32_t *)ARM_RAS_START = 0;



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