DragonFly BSD
DragonFly commits List (threaded) for 2004-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Hiten Pandya <hmp@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 2 Jun 2004 00:34:29 -0700 (PDT)

hmp         2004/06/02 00:34:29 PDT

DragonFly src repository

  Modified files:
    sys/i386/i386        pmap.c 
  Log:
  Merge from FreeBSD, RELENG_4 branch, revision 1.250.2.26.
  
  	--- original commit message ---
  	  Log:
  	  There is a comma missing in the table initializing the
  	  pmap_prefault_pageorder array.  This has two effects:
  
  	  1. The resulting bogus contents of the array thwarts part of
  	  the optimization effect pmap_prefault() is supposed to have.
  
  	  2. The resulting array is only 7 elements long (auto-sized), while
  	  pmap_prefault() expects it to be the intended 8 elements.  So
  	  this function in fact accesses memory beyond the end of the array.
  	  Fortunately though, if the data at this location is out of bounds
  	  it will be ignored.
  
  	  This bug dates back more than 6 years.  It has been introduced
  	  in revision 1.178.
  
  	  Submitted by:   Uwe Doering <gemini@xxxxxxxxxxx>
  	  PR:     		  67460
  	--- original commit message ---
  
  Revision  Changes    Path
  1.43      +1 -1      src/sys/i386/i386/pmap.c


http://www.dragonflybsd.org/cvsweb/src/sys/i386/i386/pmap.c.diff?r1=1.42&r2=1.43&f=h



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]