From owner-svn-src-user@FreeBSD.ORG Fri May 23 23:23:54 2014 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 30A0643A; Fri, 23 May 2014 23:23:54 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1DED32083; Fri, 23 May 2014 23:23:54 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s4NNNrtJ015900; Fri, 23 May 2014 23:23:53 GMT (envelope-from attilio@svn.freebsd.org) Received: (from attilio@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s4NNNr2o015899; Fri, 23 May 2014 23:23:53 GMT (envelope-from attilio@svn.freebsd.org) Message-Id: <201405232323.s4NNNr2o015899@svn.freebsd.org> From: Attilio Rao Date: Fri, 23 May 2014 23:23:53 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r266603 - user/attilio/rm_vmobj_cache/sys/arm/arm X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2014 23:23:54 -0000 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;