From owner-cvs-src@FreeBSD.ORG Fri Dec 2 18:02:55 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8232616A41F; Fri, 2 Dec 2005 18:02:55 +0000 (GMT) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB78943D6A; Fri, 2 Dec 2005 18:02:54 +0000 (GMT) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id jB2I2sZ2074770; Fri, 2 Dec 2005 18:02:54 GMT (envelope-from alc@repoman.freebsd.org) Received: (from alc@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id jB2I2sqi074769; Fri, 2 Dec 2005 18:02:54 GMT (envelope-from alc) Message-Id: <200512021802.jB2I2sqi074769@repoman.freebsd.org> From: Alan Cox Date: Fri, 2 Dec 2005 18:02:54 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/alpha/alpha pmap.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Dec 2005 18:02:55 -0000 alc 2005-12-02 18:02:54 UTC FreeBSD src repository Modified files: sys/alpha/alpha pmap.c Log: Change pmap_enter_quick() to use the vm_prot_t parameter introduced in revision 1.179 to correctly set/clear execute permission on the mapping it creates. Thus, mmap(2)ing a memory resident file will not result in the file being mapped with execute permission when execute permission was not requested. Eliminate an unneeded Instruction Memory Barrier (IMB) in pmap_enter_quick(). Since there was no previous (instruction) mapping for the given virtual address prior to pmap_enter_quick(), there can be no instructions from the given virtual address in the pipeline that need flushing. MFC after: 1 week Revision Changes Path 1.187 +4 -3 src/sys/alpha/alpha/pmap.c