cvs commit: src/sys/alpha/alpha pmap.c

Alan Cox alc at FreeBSD.org
Fri Dec 2 18:02:55 GMT 2005


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


More information about the cvs-all mailing list