Date: Fri, 2 Dec 2005 18:02:54 +0000 (UTC) From: Alan Cox <alc@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/alpha/alpha pmap.c Message-ID: <200512021802.jB2I2sqi074769@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512021802.jB2I2sqi074769>