cvs commit: src/sys/vm vm_map.c

Alan Cox alc at FreeBSD.org
Sun Mar 25 19:33:41 UTC 2007


alc         2007-03-25 19:33:40 UTC

  FreeBSD src repository

  Modified files:
    sys/vm               vm_map.c 
  Log:
  Two small changes to vm_map_pmap_enter():
  
  1) Eliminate an unnecessary check for fictitious pages.  Specifically,
  only device-backed objects contain fictitious pages and the object is
  not device-backed.
  
  2) Change the types of "psize" and "tmpidx" to vm_pindex_t in order to
  prevent possible wrap around with extremely large maps and objects,
  respectively.  Observed by: tegge (last summer)
  
  Revision  Changes    Path
  1.381     +3 -4      src/sys/vm/vm_map.c


More information about the cvs-src mailing list