Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Mar 2007 19:33:41 +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/vm vm_map.c
Message-ID:  <200703251933.l2PJXfDw045820@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703251933.l2PJXfDw045820>